Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001548, allocations: 110.7 kB / 18.45 MB, free: 4.617 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.001766/0.001766, allocations: 187.1 kB / 19.38 MB, free: 3.695 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.429/1.429, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2348/0.2348, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 55.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3924, allocations: 60.83 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002725/0.3952, allocations: 1.913 MB / 0.5214 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007562/0.3959, allocations: 0.5624 MB / 0.522 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.396, allocations: 2.156 kB / 0.522 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.3962, allocations: 37.88 kB / 0.522 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.737e-05/0.3963, allocations: 33.53 kB / 0.522 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.3965, allocations: 38.5 kB / 0.5221 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.3966, allocations: 151.7 kB / 0.5222 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.3968, allocations: 63.2 kB / 0.5223 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.3969, allocations: 65.69 kB / 0.5223 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.824e-05/0.397, allocations: 68.45 kB / 0.5224 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.3971, allocations: 17.78 kB / 0.5224 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.553e-05/0.3971, allocations: 13.91 kB / 0.5224 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.236e-05/0.3971, allocations: 24.7 kB / 0.5225 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.275e-05/0.3972, allocations: 72.98 kB / 0.5225 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.3974, allocations: 157.9 kB / 0.5227 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3974, allocations: 0 / 0.5227 GB, free: 1.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3974, allocations: 1.156 kB / 0.5227 GB, free: 1.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3974, allocations: 0 / 0.5227 GB, free: 1.492 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005118/0.3979, allocations: 443.7 kB / 0.5231 GB, free: 1.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.398, allocations: 10.27 kB / 0.5231 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.398, allocations: 15.22 kB / 0.5231 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.3982, allocations: 196.9 kB / 0.5233 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3982, allocations: 10.19 kB / 0.5233 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.3982, allocations: 13.28 kB / 0.5233 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.3986, allocations: 148.9 kB / 0.5235 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3986, allocations: 0 / 0.5235 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3986, allocations: 9.125 kB / 0.5235 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.3986, allocations: 3.25 kB / 0.5235 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.3989, allocations: 111 kB / 0.5236 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000859/0.3998, allocations: 0.6066 MB / 0.5242 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.4, allocations: 71.84 kB / 0.5243 GB, free: 204 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4001, allocations: 28.38 kB / 0.5243 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.4001, allocations: 1.844 kB / 0.5243 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.158e-05/0.4002, allocations: 30.56 kB / 0.5243 GB, free: 152 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.522e-06/0.4002, allocations: 1.219 kB / 0.5243 GB, free: 152 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003672/0.4005, allocations: 116 kB / 0.5244 GB, free: 92 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.548e-05/0.4006, allocations: 51.97 kB / 0.5245 GB, free: 28 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.4007, allocations: 159 kB / 0.5246 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.4007, allocations: 27.2 kB / 0.5247 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.4009, allocations: 138.2 kB / 0.5248 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.4009, allocations: 15.05 kB / 0.5248 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.4009, allocations: 22.94 kB / 0.5248 GB, free: 15.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.401, allocations: 324.2 kB / 0.5251 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.4012, allocations: 30.19 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.4013, allocations: 63.59 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.4015, allocations: 93.45 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4015, allocations: 1.031 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003014/0.4018, allocations: 125.8 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4019, allocations: 6.094 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4019, allocations: 1.344 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4019, allocations: 1.75 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.402, allocations: 37.08 kB / 0.5255 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.402, allocations: 6.328 kB / 0.5255 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.833e-05/0.4021, allocations: 17.06 kB / 0.5255 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.4022, allocations: 4.578 kB / 0.5255 GB, free: 15.19 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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): 11 * 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 prepare postOptimizeDAE: time 9.626e-05/0.4023, allocations: 124.9 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.4023, allocations: 7.562 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.4023, allocations: 12.09 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.4023, allocations: 0 / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4024, allocations: 4.594 kB / 0.5257 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.4024, allocations: 83.73 kB / 0.5257 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.4024, allocations: 6.578 kB / 0.5257 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.4025, allocations: 6.406 kB / 0.5257 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.4026, allocations: 3.281 kB / 0.5257 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003026/0.4029, allocations: 174 kB / 0.5259 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002775/0.4032, allocations: 261.5 kB / 0.5262 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.843e-05/0.4033, allocations: 26.2 kB / 0.5262 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.626e-05/0.4034, allocations: 118.1 kB / 0.5263 GB, free: 14.5 MB / 398.1 MB Notification: Performance of Backend: time 3.9e-07/0.4034, allocations: 3.938 kB / 0.5263 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004086/0.4038, allocations: 118.5 kB / 0.5264 GB, free: 14.42 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005765/0.4044, allocations: 0.7068 MB / 0.5271 GB, free: 13.76 MB / 398.1 MB Notification: Performance of Templates: time 0.003318/0.4077, allocations: 0.9228 MB / 0.528 GB, free: 13.55 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches