Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.00137, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007994/0.0007996, allocations: 94.19 kB / 297.5 MB, free: 6.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3511/0.3511, allocations: 44.82 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003067, allocations: 8 kB / 467.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3814, allocations: 62.96 MB / 0.5184 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1729/0.5544, allocations: 89.85 MB / 0.6062 GB, free: 15.47 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/0.5548, allocations: 83.94 kB / 0.6062 GB, free: 15.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0086/0.5634, allocations: 2.978 MB / 0.6092 GB, free: 12.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.5635, allocations: 0 / 0.6092 GB, free: 12.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.5635, allocations: 8 kB / 0.6092 GB, free: 12.4 MB / 426.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.0006367/0.5641, allocations: 435.2 kB / 0.6096 GB, free: 11.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5642, allocations: 12.03 kB / 0.6096 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.5643, allocations: 16.73 kB / 0.6096 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.5645, allocations: 199.8 kB / 0.6098 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.5646, allocations: 16.59 kB / 0.6098 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.5646, allocations: 16.38 kB / 0.6098 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.565, allocations: 145.2 kB / 0.61 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.565, allocations: 192 / 0.61 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.565, allocations: 11.94 kB / 0.61 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.565, allocations: 4 kB / 0.61 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.5653, allocations: 112.8 kB / 0.6101 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000925/0.5663, allocations: 0.5604 MB / 0.6106 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.5665, allocations: 70.58 kB / 0.6107 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.5666, allocations: 41 kB / 0.6107 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.5667, allocations: 3.984 kB / 0.6107 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.5667, allocations: 34.5 kB / 0.6108 GB, free: 10.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.5667, allocations: 0 / 0.6108 GB, free: 10.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004418/0.5672, allocations: 125.5 kB / 0.6109 GB, free: 10.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.5672, allocations: 55.41 kB / 0.6109 GB, free: 10.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.5674, allocations: 156 kB / 0.6111 GB, free: 10.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.5674, allocations: 25.7 kB / 0.6111 GB, free: 10.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.5675, allocations: 139.5 kB / 0.6113 GB, free: 10.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.5676, allocations: 15.75 kB / 0.6113 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.5676, allocations: 4 kB / 0.6113 GB, free: 10.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.5677, allocations: 322.8 kB / 0.6116 GB, free: 9.699 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.5678, allocations: 27.98 kB / 0.6116 GB, free: 9.672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.5679, allocations: 76.14 kB / 0.6117 GB, free: 9.582 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.5682, allocations: 112.1 kB / 0.6118 GB, free: 9.457 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5682, allocations: 0 / 0.6118 GB, free: 9.457 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002926/0.5685, allocations: 129.6 kB / 0.6119 GB, free: 9.324 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.5685, allocations: 8 kB / 0.6119 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.5685, allocations: 7.938 kB / 0.6119 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.5685, allocations: 0 / 0.6119 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.5687, allocations: 27.98 kB / 0.612 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5687, allocations: 3.938 kB / 0.612 GB, free: 9.277 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.5688, allocations: 23.89 kB / 0.612 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.5688, allocations: 0 / 0.612 GB, free: 9.254 MB / 426.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.0001002/0.5689, allocations: 133.7 kB / 0.6121 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.569, allocations: 7.906 kB / 0.6121 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.569, allocations: 12.55 kB / 0.6121 GB, free: 9.094 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.569, allocations: 4 kB / 0.6121 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.569, allocations: 7.938 kB / 0.6121 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.569, allocations: 0 / 0.6121 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.5693, allocations: 205.6 kB / 0.6123 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5693, allocations: 0 / 0.6123 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-05/0.5694, allocations: 23.98 kB / 0.6124 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5694, allocations: 0 / 0.6124 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.5694, allocations: 0 / 0.6124 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5694, allocations: 0 / 0.6124 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5694, allocations: 7.922 kB / 0.6124 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.5697, allocations: 195.4 kB / 0.6126 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.5697, allocations: 85.02 kB / 0.6126 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.5698, allocations: 0 / 0.6126 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-05/0.5699, allocations: 15.92 kB / 0.6126 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.5699, allocations: 3.938 kB / 0.6127 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.5699, allocations: 4 kB / 0.6127 GB, free: 8.469 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.147e-05/0.57, allocations: 114.4 kB / 0.6128 GB, free: 8.359 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.57, allocations: 4 kB / 0.6128 GB, free: 8.355 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.5703, allocations: 27.84 kB / 0.6128 GB, free: 8.328 MB / 426.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.000155/0.5705, allocations: 99.25 kB / 0.6129 GB, free: 8.223 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.5707, allocations: 79.89 kB / 0.613 GB, free: 8.145 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5707, allocations: 3.938 kB / 0.613 GB, free: 8.141 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.445e-05/0.5708, allocations: 35.97 kB / 0.613 GB, free: 8.105 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.5712, allocations: 5.828 kB / 0.613 GB, free: 8.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.5718, allocations: 329.8 kB / 0.6133 GB, free: 7.754 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.5721, allocations: 0.7119 MB / 0.614 GB, free: 7.016 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.1e-05/0.5721, allocations: 4.609 kB / 0.614 GB, free: 7.008 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.5722, allocations: 11.44 kB / 0.614 GB, free: 6.996 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5722, allocations: 0 / 0.614 GB, free: 6.996 MB / 426.7 MB Notification: Performance of Templates: time 0.003196/0.5754, allocations: 0.7005 MB / 0.6147 GB, free: 6.297 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches