Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1256,variableFilter="time|Inductance1.i|SaturatingInductance1.Psi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002485/0.0002487, allocations: 8 kB / 308.4 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09953/0.0998, allocations: 51.53 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002233/0.1021, allocations: 1.761 MB / 361.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1033, allocations: 0.6351 MB / 362.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1034, allocations: 4 kB / 362.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.116e-05/0.1035, allocations: 11.91 kB / 362.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.1036, allocations: 43.69 kB / 362.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.104, allocations: 95.53 kB / 362.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.1043, allocations: 179.3 kB / 362.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.1044, allocations: 49.45 kB / 362.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.1046, allocations: 75.7 kB / 362.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1048, allocations: 71.62 kB / 362.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.1048, allocations: 8 kB / 362.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.226e-05/0.1049, allocations: 16 kB / 362.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.273e-05/0.1049, allocations: 31.89 kB / 362.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.105, allocations: 93.3 kB / 363 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1052, allocations: 135.8 kB / 363.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1052, allocations: 0 / 363.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1052, allocations: 0 / 363.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1052, allocations: 0 / 363.1 MB, free: 10.06 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007353/0.106, allocations: 450.9 kB / 363.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.106, allocations: 12.03 kB / 363.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003987/0.1064, allocations: 56.72 kB / 363.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1067, allocations: 223.7 kB / 363.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1067, allocations: 8.375 kB / 363.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.1068, allocations: 12.38 kB / 363.9 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.1071, allocations: 160.3 kB / 364 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1071, allocations: 0 / 364 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.1071, allocations: 4 kB / 364 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1072, allocations: 4 kB / 364 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.1074, allocations: 99.94 kB / 364.1 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009025/0.1084, allocations: 0.5031 MB / 364.6 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.1087, allocations: 114.5 kB / 364.7 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.1089, allocations: 64.84 kB / 364.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1089, allocations: 7.984 kB / 364.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.109, allocations: 38.5 kB / 364.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.109, allocations: 0 / 364.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004825/0.1094, allocations: 153.6 kB / 365 MB, free: 7.996 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.1095, allocations: 102.8 kB / 365.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.1097, allocations: 160.7 kB / 365.2 MB, free: 7.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1097, allocations: 25.7 kB / 365.3 MB, free: 7.676 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.1098, allocations: 123.8 kB / 365.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1098, allocations: 31.56 kB / 365.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.1099, allocations: 21.7 kB / 365.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.11, allocations: 322.8 kB / 365.8 MB, free: 7.168 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1101, allocations: 39.98 kB / 365.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.1103, allocations: 76.27 kB / 365.9 MB, free: 7.039 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.1106, allocations: 118.8 kB / 366 MB, free: 6.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1106, allocations: 0 / 366 MB, free: 6.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003581/0.111, allocations: 145.4 kB / 366.1 MB, free: 6.766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.111, allocations: 11.94 kB / 366.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.111, allocations: 0 / 366.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.111, allocations: 4.031 kB / 366.1 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.1116, allocations: 87.91 kB / 366.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.113, allocations: 1.401 MB / 367.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.1132, allocations: 31.98 kB / 367.7 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1132, allocations: 4 kB / 367.7 MB, free: 5.09 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.1134, allocations: 125.7 kB / 367.8 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.1134, allocations: 11.91 kB / 367.8 MB, free: 4.945 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004733/0.1139, allocations: 159.1 kB / 368 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1139, allocations: 4 kB / 368 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1139, allocations: 0 / 368 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1139, allocations: 0 / 368 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007851/0.1147, allocations: 479.9 kB / 368.4 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.1147, allocations: 0 / 368.4 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.1149, allocations: 19.98 kB / 368.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002596/0.1151, allocations: 44.8 kB / 368.5 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1152, allocations: 4 kB / 368.5 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.1162, allocations: 1.297 MB / 369.8 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1163, allocations: 0 / 369.8 MB, free: 2.746 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.1169, allocations: 313 kB / 370.1 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.1169, allocations: 84.98 kB / 370.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.117, allocations: 16.05 kB / 370.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.1171, allocations: 15.98 kB / 370.2 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.1172, allocations: 4 kB / 370.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.1172, allocations: 0 / 370.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.264e-05/0.1173, allocations: 123.4 kB / 370.3 MB, free: 2.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1173, allocations: 0 / 370.3 MB, free: 2.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.1176, allocations: 47.78 kB / 370.4 MB, free: 2.113 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001209/0.1178, allocations: 107.2 kB / 370.5 MB, free: 2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007135/0.1185, allocations: 143.9 kB / 370.6 MB, free: 1.859 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1185, allocations: 0 / 370.6 MB, free: 1.859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.1188, allocations: 166.6 kB / 370.8 MB, free: 1.684 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.1191, allocations: 8 kB / 370.8 MB, free: 1.676 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.1206, allocations: 0.6478 MB / 371.4 MB, free: 1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.1209, allocations: 0.716 MB / 372.2 MB, free: 264 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.1209, allocations: 19.42 kB / 372.2 MB, free: 244 kB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1209, allocations: 3.938 kB / 372.2 MB, free: 240 kB / 302.1 MB Notification: Performance of Templates: time 0.1636/0.2846, allocations: 2.199 MB / 374.4 MB, free: 18.44 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches