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.001513/0.001513, allocations: 112.9 kB / 18.45 MB, free: 4.594 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.001658/0.001658, allocations: 183 kB / 19.39 MB, free: 3.672 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.35/1.35, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.202/0.202, allocations: 44.18 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 68.12 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.374, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003379/0.3774, allocations: 1.914 MB / 0.5214 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.3785, allocations: 0.5618 MB / 0.522 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.3786, allocations: 2.156 kB / 0.522 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.3789, allocations: 34.92 kB / 0.522 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.3791, allocations: 33.77 kB / 0.522 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.3793, allocations: 50.02 kB / 0.5221 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.3795, allocations: 151.5 kB / 0.5222 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.3797, allocations: 61.98 kB / 0.5223 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.3799, allocations: 58.95 kB / 0.5223 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.38, allocations: 64.55 kB / 0.5224 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.3801, allocations: 13.53 kB / 0.5224 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.422e-05/0.3801, allocations: 13.62 kB / 0.5224 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.3801, allocations: 33.77 kB / 0.5225 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.243e-05/0.3802, allocations: 72.42 kB / 0.5225 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.3805, allocations: 159.9 kB / 0.5227 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3805, allocations: 0 / 0.5227 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3805, allocations: 2.391 kB / 0.5227 GB, free: 1.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.3805, allocations: 0 / 0.5227 GB, free: 1.512 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.0006576/0.3812, allocations: 450.3 kB / 0.5231 GB, free: 1.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3813, allocations: 8.219 kB / 0.5231 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.3813, allocations: 20.44 kB / 0.5231 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.3816, allocations: 201.7 kB / 0.5233 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3816, allocations: 13.31 kB / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.3816, allocations: 13.75 kB / 0.5234 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.382, allocations: 141 kB / 0.5235 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.382, allocations: 0 / 0.5235 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.382, allocations: 5.469 kB / 0.5235 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.382, allocations: 2.875 kB / 0.5235 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.3823, allocations: 111.3 kB / 0.5236 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.3834, allocations: 0.6035 MB / 0.5242 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.3836, allocations: 66.98 kB / 0.5243 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.3838, allocations: 36.39 kB / 0.5243 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.3838, allocations: 0.8438 kB / 0.5243 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.3838, allocations: 35.91 kB / 0.5243 GB, free: 164 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.3838, allocations: 0 / 0.5243 GB, free: 164 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004085/0.3842, allocations: 112.1 kB / 0.5244 GB, free: 108 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.758e-05/0.3842, allocations: 56.81 kB / 0.5245 GB, free: 40 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.3844, allocations: 154.5 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3844, allocations: 29.7 kB / 0.5247 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.3845, allocations: 131.8 kB / 0.5248 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.3845, allocations: 27.17 kB / 0.5248 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.3846, allocations: 26.97 kB / 0.5248 GB, free: 15.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3847, allocations: 320.9 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3848, allocations: 29.81 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.385, allocations: 67.62 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.3852, allocations: 97.25 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3852, allocations: 1.312 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002884/0.3855, allocations: 125.7 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3856, allocations: 7.531 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3856, allocations: 2.188 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3856, allocations: 5.844 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.3857, allocations: 29.86 kB / 0.5255 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.3857, allocations: 7.391 kB / 0.5255 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.3859, allocations: 15.16 kB / 0.5255 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3859, allocations: 7.406 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.267e-05/0.386, allocations: 116.6 kB / 0.5256 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.386, allocations: 11.7 kB / 0.5257 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.3861, allocations: 12.55 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3861, allocations: 5.25 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3861, allocations: 8.391 kB / 0.5257 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.3861, allocations: 84.17 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.3861, allocations: 1 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3862, allocations: 6.594 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.3863, allocations: 3.391 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003239/0.3866, allocations: 174.5 kB / 0.5259 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003042/0.3869, allocations: 262.5 kB / 0.5262 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001133/0.3871, allocations: 29.94 kB / 0.5262 GB, free: 14.58 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.301e-05/0.3872, allocations: 114.3 kB / 0.5263 GB, free: 14.5 MB / 398.1 MB Notification: Performance of Backend: time 3e-07/0.3872, allocations: 0 / 0.5263 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004514/0.3876, allocations: 122.2 kB / 0.5264 GB, free: 14.42 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006695/0.3883, allocations: 0.6993 MB / 0.5271 GB, free: 13.77 MB / 398.1 MB Notification: Performance of Templates: time 0.003594/0.3919, allocations: 0.9178 MB / 0.528 GB, free: 13.54 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