Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009822/0.0009823, allocations: 177.2 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.6 MB / 223.7 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007148/0.0007148, allocations: 86.36 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002533, allocations: 8 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2617, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002148/0.2639, allocations: 1.67 MB / 378.3 MB, free: 44.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000952/0.2649, allocations: 0.5829 MB / 378.9 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.521e-05/0.265, allocations: 1.344 kB / 378.9 MB, free: 43.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.72e-05/0.265, allocations: 13.88 kB / 378.9 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.2652, allocations: 40.17 kB / 378.9 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.2655, allocations: 81.47 kB / 379 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.2657, allocations: 177 kB / 379.2 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2659, allocations: 43.14 kB / 379.2 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.2661, allocations: 62.72 kB / 379.3 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.2662, allocations: 77.64 kB / 379.3 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.2663, allocations: 12.78 kB / 379.3 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.099e-05/0.2663, allocations: 7.219 kB / 379.4 MB, free: 43.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.2663, allocations: 28.59 kB / 379.4 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.377e-05/0.2664, allocations: 96.55 kB / 379.5 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.2666, allocations: 160.7 kB / 379.6 MB, free: 43.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2667, allocations: 0 / 379.6 MB, free: 43.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2667, allocations: 0 / 379.6 MB, free: 43.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.2667, allocations: 1 kB / 379.6 MB, free: 43.26 MB / 298.7 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.000787/0.2675, allocations: 448.5 kB / 380.1 MB, free: 42.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.2675, allocations: 8.5 kB / 380.1 MB, free: 42.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.081e-05/0.2676, allocations: 17.69 kB / 380.1 MB, free: 42.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.2677, allocations: 194.9 kB / 380.3 MB, free: 42.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.2678, allocations: 13.09 kB / 380.3 MB, free: 42.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.2678, allocations: 6.812 kB / 380.3 MB, free: 42.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003322/0.2682, allocations: 160.5 kB / 380.5 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.2682, allocations: 0 / 380.5 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.2682, allocations: 5.062 kB / 380.5 MB, free: 42.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.2682, allocations: 11.22 kB / 380.5 MB, free: 42.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002739/0.2685, allocations: 95.56 kB / 380.6 MB, free: 42.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.2694, allocations: 0.5063 MB / 381.1 MB, free: 41.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.2697, allocations: 124 kB / 381.2 MB, free: 41.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.2699, allocations: 63.17 kB / 381.3 MB, free: 41.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.2699, allocations: 1 kB / 381.3 MB, free: 41.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.27, allocations: 43.44 kB / 381.3 MB, free: 41.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.27, allocations: 0 / 381.3 MB, free: 41.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004665/0.2704, allocations: 145.9 kB / 381.4 MB, free: 41.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.2705, allocations: 108.3 kB / 381.6 MB, free: 41.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.2706, allocations: 150.5 kB / 381.7 MB, free: 41.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.2707, allocations: 29.7 kB / 381.7 MB, free: 41.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.2707, allocations: 123.7 kB / 381.9 MB, free: 41.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.2708, allocations: 26.22 kB / 381.9 MB, free: 41.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.2708, allocations: 1.406 kB / 381.9 MB, free: 41.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.864e-05/0.2709, allocations: 321.6 kB / 382.2 MB, free: 40.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.271, allocations: 46.66 kB / 382.2 MB, free: 40.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.2712, allocations: 73.45 kB / 382.3 MB, free: 40.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.2714, allocations: 116.5 kB / 382.4 MB, free: 40.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2714, allocations: 0 / 382.4 MB, free: 40.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003183/0.2718, allocations: 144.3 kB / 382.6 MB, free: 40.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2718, allocations: 13.28 kB / 382.6 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2718, allocations: 1.594 kB / 382.6 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.2718, allocations: 1.406 kB / 382.6 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/0.2724, allocations: 82.89 kB / 382.7 MB, free: 40.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.2736, allocations: 1.402 MB / 384.1 MB, free: 39.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.2738, allocations: 25.08 kB / 384.1 MB, free: 39.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.2738, allocations: 11.55 kB / 384.1 MB, free: 39.24 MB / 298.7 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.0001097/0.2739, allocations: 127.9 kB / 384.2 MB, free: 39.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.274, allocations: 17 kB / 384.2 MB, free: 39.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.2744, allocations: 154.1 kB / 384.4 MB, free: 39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.2744, allocations: 5.422 kB / 384.4 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.2744, allocations: 4 kB / 384.4 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2745, allocations: 0.875 kB / 384.4 MB, free: 38.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007353/0.2752, allocations: 474.7 kB / 384.9 MB, free: 38.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2752, allocations: 0 / 384.9 MB, free: 38.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.2754, allocations: 22.08 kB / 384.9 MB, free: 38.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002717/0.2756, allocations: 43.91 kB / 384.9 MB, free: 38.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.2757, allocations: 2.219 kB / 384.9 MB, free: 38.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008665/0.2765, allocations: 1.304 MB / 386.2 MB, free: 37.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2766, allocations: 1.125 kB / 386.2 MB, free: 37.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.2771, allocations: 306.3 kB / 386.5 MB, free: 36.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.2772, allocations: 88.33 kB / 386.6 MB, free: 36.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.2772, allocations: 5.219 kB / 386.6 MB, free: 36.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2773, allocations: 16.08 kB / 386.6 MB, free: 36.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.2774, allocations: 11.7 kB / 386.7 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.2774, allocations: 1.344 kB / 386.7 MB, free: 36.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.614e-05/0.2775, allocations: 120.5 kB / 386.8 MB, free: 36.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2775, allocations: 1.25 kB / 386.8 MB, free: 36.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.2778, allocations: 42.91 kB / 386.8 MB, free: 36.72 MB / 298.7 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.000145/0.2779, allocations: 102.6 kB / 386.9 MB, free: 36.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006796/0.2786, allocations: 141.9 kB / 387.1 MB, free: 36.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2786, allocations: 0.8438 kB / 387.1 MB, free: 36.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.279, allocations: 168.9 kB / 387.2 MB, free: 36.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.2793, allocations: 16.09 kB / 387.2 MB, free: 36.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.2809, allocations: 0.6156 MB / 387.9 MB, free: 35.99 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.2811, allocations: 0.7143 MB / 388.6 MB, free: 35.27 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.4e-05/0.2812, allocations: 15.27 kB / 388.6 MB, free: 35.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.2813, allocations: 21.8 kB / 388.6 MB, free: 35.25 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.2813, allocations: 0 / 388.6 MB, free: 35.25 MB / 298.7 MB Notification: Performance of Templates: time 0.004269/0.2855, allocations: 1.509 MB / 390.1 MB, free: 34.26 MB / 298.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches