Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.001299, allocations: 104.9 kB / 17.77 MB, free: 5.27 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.00142/0.00142, allocations: 184.8 kB / 18.71 MB, free: 4.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2273/0.2273, allocations: 44.18 MB / 336.7 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4241, allocations: 60.81 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.005532/0.4297, allocations: 1.894 MB / 0.5207 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.4315, allocations: 0.5375 MB / 0.5213 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.4317, allocations: 5.125 kB / 0.5213 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.833e-05/0.4318, allocations: 14.23 kB / 0.5213 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003669/0.4322, allocations: 42.69 kB / 0.5213 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.4327, allocations: 80.11 kB / 0.5214 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.433, allocations: 151.8 kB / 0.5215 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.4332, allocations: 36.36 kB / 0.5216 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.4335, allocations: 75.92 kB / 0.5216 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.4337, allocations: 66.02 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.4338, allocations: 12.28 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.965e-05/0.4338, allocations: 12.75 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.4339, allocations: 26.72 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.434, allocations: 64.7 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.4343, allocations: 143.9 kB / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4344, allocations: 0 / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4344, allocations: 0 / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.4344, allocations: 1.219 kB / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001122/0.4355, allocations: 445.8 kB / 0.5224 GB, free: 1.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.4356, allocations: 8.75 kB / 0.5224 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.4357, allocations: 15.31 kB / 0.5224 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.4359, allocations: 184 kB / 0.5226 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.4359, allocations: 18.62 kB / 0.5226 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.436, allocations: 5.938 kB / 0.5226 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.4365, allocations: 142 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.4366, allocations: 1.125 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.4366, allocations: 1.094 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.4366, allocations: 5.188 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005927/0.4372, allocations: 92.77 kB / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.4385, allocations: 457.1 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.439, allocations: 88.69 kB / 0.5234 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.4393, allocations: 50.19 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.4393, allocations: 5.109 kB / 0.5234 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.4394, allocations: 36.42 kB / 0.5234 GB, free: 348 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.984e-06/0.4394, allocations: 0 / 0.5234 GB, free: 348 kB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.002333/0.4417, allocations: 318.9 kB / 0.5237 GB, free: 240 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.4418, allocations: 105.4 kB / 0.5238 GB, free: 112 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.442, allocations: 147.7 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.4421, allocations: 25.7 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.4422, allocations: 111 kB / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.4423, allocations: 24.03 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.991e-05/0.4424, allocations: 29.33 kB / 0.5242 GB, free: 15.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4426, allocations: 325 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.443, allocations: 57.64 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004868/0.4435, allocations: 101.9 kB / 0.5246 GB, free: 15.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000802/0.4443, allocations: 137.8 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4443, allocations: 0 / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009447/0.4453, allocations: 175.6 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.4453, allocations: 9.375 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4453, allocations: 0 / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.4454, allocations: 2.531 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009974/0.4464, allocations: 86.86 kB / 0.525 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.4487, allocations: 1.499 MB / 0.5265 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.4491, allocations: 31.95 kB / 0.5265 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.4491, allocations: 3.453 kB / 0.5265 GB, free: 13.76 MB / 398.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 (9): * Single equations (assignments): 8 * 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.0001803/0.4493, allocations: 119.8 kB / 0.5266 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/0.4494, allocations: 12.73 kB / 0.5266 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008809/0.4503, allocations: 170.7 kB / 0.5268 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4503, allocations: 5.312 kB / 0.5268 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.4503, allocations: 1.125 kB / 0.5268 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4504, allocations: 1.375 kB / 0.5268 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.4518, allocations: 465.6 kB / 0.5273 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.4518, allocations: 0.75 kB / 0.5273 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.4521, allocations: 30.88 kB / 0.5273 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4521, allocations: 0 / 0.5273 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.4521, allocations: 5.969 kB / 0.5273 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.4522, allocations: 3.938 kB / 0.5273 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4522, allocations: 1.469 kB / 0.5273 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009131/0.4531, allocations: 246.4 kB / 0.5275 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.439e-05/0.4532, allocations: 84.19 kB / 0.5276 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.4532, allocations: 2.125 kB / 0.5276 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.4536, allocations: 33.66 kB / 0.5277 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.4537, allocations: 9.438 kB / 0.5277 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.4537, allocations: 2.016 kB / 0.5277 GB, free: 12.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.4539, allocations: 113.6 kB / 0.5278 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4539, allocations: 0 / 0.5278 GB, free: 12.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005077/0.4544, allocations: 26.5 kB / 0.5278 GB, free: 12.83 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000155/0.4546, allocations: 99.12 kB / 0.5279 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.4561, allocations: 176.1 kB / 0.5281 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.4561, allocations: 1.219 kB / 0.5281 GB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.4566, allocations: 63.98 kB / 0.5281 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.4571, allocations: 13.42 kB / 0.5281 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.4592, allocations: 386.7 kB / 0.5285 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.4596, allocations: 0.7032 MB / 0.5292 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.4598, allocations: 15.3 kB / 0.5292 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/0.4599, allocations: 16.94 kB / 0.5292 GB, free: 11.68 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4599, allocations: 0 / 0.5292 GB, free: 11.68 MB / 398.1 MB Notification: Performance of Templates: time 0.008289/0.4682, allocations: 1.718 MB / 0.5309 GB, free: 10.8 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches