Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001345, allocations: 171.2 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007424/0.0007424, allocations: 90.03 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3187/0.3187, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.0004268, allocations: 16 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1169, allocations: 58.83 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3558/0.4728, allocations: 87.46 MB / 0.5654 GB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.4731, allocations: 67.97 kB / 0.5654 GB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007752/0.4808, allocations: 2.822 MB / 0.5682 GB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.566e-06/0.4809, allocations: 2.812 kB / 0.5682 GB, free: 11.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.4809, allocations: 4 kB / 0.5682 GB, free: 11.54 MB / 394.7 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.0006793/0.4816, allocations: 423 kB / 0.5686 GB, free: 11.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4817, allocations: 12.03 kB / 0.5686 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.4817, allocations: 15.88 kB / 0.5686 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.482, allocations: 208.9 kB / 0.5688 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.4821, allocations: 12.66 kB / 0.5688 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.4821, allocations: 12.38 kB / 0.5688 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.4825, allocations: 144.3 kB / 0.569 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4825, allocations: 4.188 kB / 0.569 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.4825, allocations: 7.938 kB / 0.569 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.4825, allocations: 4 kB / 0.569 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.4828, allocations: 116.8 kB / 0.5691 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009645/0.4838, allocations: 0.5632 MB / 0.5697 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.4841, allocations: 74.62 kB / 0.5697 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.4842, allocations: 36.91 kB / 0.5698 GB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.4842, allocations: 0 / 0.5698 GB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.4843, allocations: 46.5 kB / 0.5698 GB, free: 9.715 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.4843, allocations: 0 / 0.5698 GB, free: 9.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004461/0.4847, allocations: 129.5 kB / 0.5699 GB, free: 9.582 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.4848, allocations: 51.41 kB / 0.57 GB, free: 9.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.4849, allocations: 153.6 kB / 0.5701 GB, free: 9.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.485, allocations: 25.7 kB / 0.5701 GB, free: 9.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.4851, allocations: 135.5 kB / 0.5703 GB, free: 9.195 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.4851, allocations: 15.81 kB / 0.5703 GB, free: 9.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.4851, allocations: 0 / 0.5703 GB, free: 9.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4852, allocations: 318.8 kB / 0.5706 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.4854, allocations: 39.97 kB / 0.5706 GB, free: 8.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.4855, allocations: 70.17 kB / 0.5707 GB, free: 8.738 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.4857, allocations: 101.1 kB / 0.5708 GB, free: 8.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4857, allocations: 8.844 kB / 0.5708 GB, free: 8.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003097/0.4861, allocations: 133.5 kB / 0.5709 GB, free: 8.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.4861, allocations: 8 kB / 0.5709 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.4861, allocations: 0 / 0.5709 GB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.4861, allocations: 4.125 kB / 0.5709 GB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.4863, allocations: 33.05 kB / 0.571 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.4863, allocations: 7.922 kB / 0.571 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.4864, allocations: 19.84 kB / 0.571 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.4864, allocations: 8 kB / 0.571 GB, free: 8.402 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.4866, allocations: 117.8 kB / 0.5711 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.4866, allocations: 15.89 kB / 0.5711 GB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.4867, allocations: 12.31 kB / 0.5711 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4867, allocations: 3.938 kB / 0.5712 GB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4867, allocations: 3.938 kB / 0.5712 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4867, allocations: 0 / 0.5712 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.4869, allocations: 213.5 kB / 0.5714 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4869, allocations: 0.5625 kB / 0.5714 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.559e-05/0.487, allocations: 19.98 kB / 0.5714 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.487, allocations: 0 / 0.5714 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4871, allocations: 10.5 kB / 0.5714 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4871, allocations: 0 / 0.5714 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4871, allocations: 3.938 kB / 0.5714 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.4874, allocations: 191.4 kB / 0.5716 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.4874, allocations: 85.02 kB / 0.5717 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.4875, allocations: 0 / 0.5717 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.984e-05/0.4876, allocations: 15.98 kB / 0.5717 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.4876, allocations: 7.922 kB / 0.5717 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.4876, allocations: 7.938 kB / 0.5717 GB, free: 7.617 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.669e-05/0.4877, allocations: 103.3 kB / 0.5718 GB, free: 7.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4877, allocations: 0 / 0.5718 GB, free: 7.516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002565/0.488, allocations: 31.84 kB / 0.5718 GB, free: 7.484 MB / 394.7 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.4881, allocations: 107.2 kB / 0.5719 GB, free: 7.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.4884, allocations: 79.95 kB / 0.572 GB, free: 7.293 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4884, allocations: 0 / 0.572 GB, free: 7.293 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.795e-05/0.4885, allocations: 35.98 kB / 0.572 GB, free: 7.258 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.4888, allocations: 5.422 kB / 0.572 GB, free: 7.254 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005796/0.4894, allocations: 332 kB / 0.5723 GB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.4897, allocations: 0.708 MB / 0.573 GB, free: 6.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.747e-05/0.4898, allocations: 12.64 kB / 0.5731 GB, free: 6.164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.4898, allocations: 7.438 kB / 0.5731 GB, free: 6.156 MB / 394.7 MB Notification: Performance of SimCode: time 1.683e-06/0.4898, allocations: 4 kB / 0.5731 GB, free: 6.152 MB / 394.7 MB Notification: Performance of Templates: time 0.003274/0.4931, allocations: 0.7024 MB / 0.5737 GB, free: 5.465 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches