Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 107.2 kB / 18.34 MB, free: 4.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 188.1 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 51.94 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1226, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.005572/0.1283, allocations: 2.013 MB / 330.7 MB, free: 1.723 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.13, allocations: 0.6133 MB / 331.3 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1302, allocations: 4 kB / 331.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.361e-05/0.1303, allocations: 23.78 kB / 331.4 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.1305, allocations: 35.64 kB / 331.4 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.131, allocations: 91.81 kB / 331.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.1314, allocations: 183.3 kB / 331.7 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.1317, allocations: 45.45 kB / 331.7 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.1319, allocations: 83.69 kB / 331.8 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1321, allocations: 79.62 kB / 331.9 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.1322, allocations: 16 kB / 331.9 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.019e-05/0.1322, allocations: 20 kB / 331.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.1323, allocations: 31.91 kB / 331.9 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.1324, allocations: 83.52 kB / 332 MB, free: 424 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.1328, allocations: 171.4 kB / 332.2 MB, free: 252 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1328, allocations: 0 / 332.2 MB, free: 252 kB / 270.1 MB Notification: Performance of FrontEnd: time 4.759e-06/0.1328, allocations: 0 / 332.2 MB, free: 252 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.1328, allocations: 0 / 332.2 MB, free: 252 kB / 270.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.001201/0.134, allocations: 474.8 kB / 332.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.1341, allocations: 15.89 kB / 332.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/0.1342, allocations: 12.84 kB / 332.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.1345, allocations: 200 kB / 332.9 MB, free: 15.47 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1345, allocations: 8.375 kB / 332.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.1346, allocations: 8.375 kB / 332.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.135, allocations: 160.4 kB / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1351, allocations: 0 / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.1351, allocations: 4 kB / 333.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.1351, allocations: 4 kB / 333.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.1355, allocations: 95.94 kB / 333.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.137, allocations: 0.4992 MB / 333.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.1374, allocations: 106.5 kB / 333.8 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.1377, allocations: 68.81 kB / 333.8 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.1378, allocations: 7.938 kB / 333.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.1378, allocations: 42.5 kB / 333.9 MB, free: 14.38 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 2.325e-06/0.1378, allocations: 0 / 333.9 MB, free: 14.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007987/0.1386, allocations: 145.5 kB / 334 MB, free: 14.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/0.1387, allocations: 102.8 kB / 334.1 MB, free: 14.11 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.139, allocations: 166 kB / 334.3 MB, free: 13.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.139, allocations: 29.7 kB / 334.3 MB, free: 13.9 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1392, allocations: 115.9 kB / 334.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.1392, allocations: 31.69 kB / 334.5 MB, free: 13.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1393, allocations: 33.7 kB / 334.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.1395, allocations: 318.8 kB / 334.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.1397, allocations: 39.98 kB / 334.8 MB, free: 13.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.14, allocations: 88.19 kB / 334.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.1404, allocations: 98.52 kB / 335 MB, free: 13.15 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1405, allocations: 0 / 335 MB, free: 13.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005355/0.141, allocations: 141.5 kB / 335.2 MB, free: 13 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.141, allocations: 11.94 kB / 335.2 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1411, allocations: 0 / 335.2 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.1411, allocations: 4.031 kB / 335.2 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008594/0.142, allocations: 83.91 kB / 335.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.144, allocations: 1.496 MB / 336.7 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.1443, allocations: 24.14 kB / 336.8 MB, free: 11.24 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.1443, allocations: 7.938 kB / 336.8 MB, free: 11.23 MB / 286.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.0001797/0.1445, allocations: 125.8 kB / 336.9 MB, free: 11.1 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.1445, allocations: 11.81 kB / 336.9 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005294/0.1451, allocations: 159.1 kB / 337.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1451, allocations: 0 / 337.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1451, allocations: 3.938 kB / 337.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1451, allocations: 0 / 337.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008391/0.1459, allocations: 468 kB / 337.5 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.146, allocations: 0 / 337.5 MB, free: 10.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.1461, allocations: 19.98 kB / 337.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000252/0.1464, allocations: 28.83 kB / 337.6 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.1464, allocations: 8 kB / 337.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.1476, allocations: 1.395 MB / 339 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1476, allocations: 4.516 kB / 339 MB, free: 8.805 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006079/0.1482, allocations: 301 kB / 339.3 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.1483, allocations: 88.95 kB / 339.4 MB, free: 8.383 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.1483, allocations: 11.92 kB / 339.4 MB, free: 8.371 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.1485, allocations: 15.98 kB / 339.4 MB, free: 8.355 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.1486, allocations: 12 kB / 339.4 MB, free: 8.344 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.1486, allocations: 4 kB / 339.4 MB, free: 8.34 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.1487, allocations: 115.2 kB / 339.5 MB, free: 8.227 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1487, allocations: 0 / 339.5 MB, free: 8.227 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.1491, allocations: 39.94 kB / 339.6 MB, free: 8.188 MB / 286.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.0001689/0.1493, allocations: 107.2 kB / 339.7 MB, free: 8.074 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007981/0.1501, allocations: 135.8 kB / 339.8 MB, free: 7.941 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1501, allocations: 0 / 339.8 MB, free: 7.941 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003903/0.1505, allocations: 166.8 kB / 340 MB, free: 7.766 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.1508, allocations: 19.89 kB / 340 MB, free: 7.746 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.1525, allocations: 0.5242 MB / 340.5 MB, free: 7.191 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.1529, allocations: 0.7118 MB / 341.2 MB, free: 6.453 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.359e-05/0.1529, allocations: 16.55 kB / 341.2 MB, free: 6.438 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.153, allocations: 11.44 kB / 341.2 MB, free: 6.426 MB / 286.1 MB Notification: Performance of SimCode: time 8.12e-07/0.153, allocations: 4 kB / 341.2 MB, free: 6.422 MB / 286.1 MB Notification: Performance of Templates: time 0.005201/0.1582, allocations: 1.644 MB / 342.9 MB, free: 4.781 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches