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.001083/0.001083, allocations: 110.5 kB / 18.45 MB, free: 4.602 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.001186/0.001187, allocations: 187.2 kB / 19.38 MB, free: 3.68 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.398/1.398, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2029/0.2029, allocations: 44.17 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 55.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3881, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003054/0.3912, allocations: 1.902 MB / 0.5214 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009142/0.3922, allocations: 0.5327 MB / 0.5219 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.3922, allocations: 6.031 kB / 0.5219 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.615e-05/0.3923, allocations: 18.2 kB / 0.522 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.3925, allocations: 39.78 kB / 0.522 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.3928, allocations: 74.44 kB / 0.5221 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.393, allocations: 155.8 kB / 0.5222 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3931, allocations: 28.03 kB / 0.5222 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.3933, allocations: 76.2 kB / 0.5223 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3934, allocations: 66.34 kB / 0.5224 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.3934, allocations: 12.5 kB / 0.5224 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.415e-05/0.3935, allocations: 13.66 kB / 0.5224 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.3935, allocations: 29.81 kB / 0.5224 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.871e-05/0.3936, allocations: 64.72 kB / 0.5225 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.3939, allocations: 135.1 kB / 0.5226 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3939, allocations: 1.312 kB / 0.5226 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3939, allocations: 0 / 0.5226 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3939, allocations: 0 / 0.5226 GB, free: 1.551 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.0008011/0.3947, allocations: 445.4 kB / 0.523 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.3948, allocations: 9.484 kB / 0.5231 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.3948, allocations: 15.5 kB / 0.5231 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.395, allocations: 192.2 kB / 0.5233 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.395, allocations: 20.22 kB / 0.5233 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.395, allocations: 4.812 kB / 0.5233 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.3954, allocations: 141.4 kB / 0.5234 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3954, allocations: 3.984 kB / 0.5234 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3954, allocations: 5.375 kB / 0.5234 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3954, allocations: 5.984 kB / 0.5234 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.3958, allocations: 95.58 kB / 0.5235 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007752/0.3965, allocations: 453.7 kB / 0.5239 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.3968, allocations: 89.05 kB / 0.524 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.397, allocations: 45.83 kB / 0.5241 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.397, allocations: 1.25 kB / 0.5241 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.3971, allocations: 31.59 kB / 0.5241 GB, free: 328 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.3971, allocations: 0 / 0.5241 GB, free: 328 kB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.001429/0.3985, allocations: 324.4 kB / 0.5244 GB, free: 216 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.3986, allocations: 104.8 kB / 0.5245 GB, free: 88 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3987, allocations: 139.8 kB / 0.5247 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3988, allocations: 31.2 kB / 0.5247 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.455e-05/0.3989, allocations: 110.3 kB / 0.5248 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.3989, allocations: 28.44 kB / 0.5248 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.399, allocations: 28.75 kB / 0.5248 GB, free: 15.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3991, allocations: 320.5 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.3993, allocations: 58.86 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.3996, allocations: 100.1 kB / 0.5253 GB, free: 15.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.4001, allocations: 134 kB / 0.5254 GB, free: 15.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4001, allocations: 1.219 kB / 0.5254 GB, free: 15.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005377/0.4006, allocations: 174.3 kB / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4007, allocations: 6.781 kB / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.4007, allocations: 3.938 kB / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.4007, allocations: 1.5 kB / 0.5256 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006112/0.4013, allocations: 87.05 kB / 0.5257 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.4028, allocations: 1.5 MB / 0.5272 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.403, allocations: 30.53 kB / 0.5272 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.4031, allocations: 3.922 kB / 0.5272 GB, free: 13.75 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.0001123/0.4032, allocations: 119.7 kB / 0.5273 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.4032, allocations: 9.062 kB / 0.5273 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005026/0.4037, allocations: 179.9 kB / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.4037, allocations: 4.922 kB / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4038, allocations: 0 / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.4038, allocations: 93.06 kB / 0.5276 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.4038, allocations: 5.312 kB / 0.5276 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.4041, allocations: 21.48 kB / 0.5276 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.4041, allocations: 9.328 kB / 0.5276 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006121/0.4047, allocations: 239.5 kB / 0.5278 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000569/0.4053, allocations: 338.5 kB / 0.5282 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002286/0.4056, allocations: 59.25 kB / 0.5282 GB, free: 13.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.103e-05/0.4057, allocations: 119.3 kB / 0.5283 GB, free: 12.94 MB / 398.1 MB Notification: Performance of Backend: time 5.01e-07/0.4057, allocations: 4 kB / 0.5283 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009526/0.4066, allocations: 192.2 kB / 0.5285 GB, free: 12.85 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007852/0.4074, allocations: 0.6726 MB / 0.5292 GB, free: 12.21 MB / 398.1 MB Notification: Performance of Templates: time 0.005221/0.4127, allocations: 1.89 MB / 0.531 GB, free: 11.25 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/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