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.001204/0.001204, allocations: 198.1 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.2 MB / 245 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008828/0.0008828, allocations: 97.52 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3305/0.3305, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002825, allocations: 8.219 kB / 468.4 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3136, allocations: 63.25 MB / 0.5192 GB, free: 37.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.4264, allocations: 90.02 MB / 0.6071 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.4267, allocations: 75.97 kB / 0.6072 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008027/0.4347, allocations: 3.02 MB / 0.6101 GB, free: 10.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4347, allocations: 0 / 0.6101 GB, free: 10.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.4348, allocations: 4 kB / 0.6101 GB, free: 10.32 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.0006214/0.4354, allocations: 439 kB / 0.6105 GB, free: 9.836 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4354, allocations: 8.031 kB / 0.6106 GB, free: 9.828 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.4355, allocations: 15.91 kB / 0.6106 GB, free: 9.812 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.4358, allocations: 206.4 kB / 0.6108 GB, free: 9.574 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.4358, allocations: 12.28 kB / 0.6108 GB, free: 9.562 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.4358, allocations: 12 kB / 0.6108 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.4361, allocations: 143.9 kB / 0.6109 GB, free: 9.406 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.4362, allocations: 0 / 0.6109 GB, free: 9.406 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.4362, allocations: 4 kB / 0.6109 GB, free: 9.402 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4362, allocations: 4 kB / 0.6109 GB, free: 9.398 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.4365, allocations: 108.8 kB / 0.611 GB, free: 9.293 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008669/0.4374, allocations: 0.5625 MB / 0.6116 GB, free: 8.664 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.4376, allocations: 86.55 kB / 0.6117 GB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.4377, allocations: 0 / 0.6117 GB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.4377, allocations: 30.56 kB / 0.6117 GB, free: 8.531 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4377, allocations: 0 / 0.6117 GB, free: 8.531 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004239/0.4381, allocations: 129.6 kB / 0.6118 GB, free: 8.398 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.4382, allocations: 55.36 kB / 0.6119 GB, free: 8.332 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.4383, allocations: 141.3 kB / 0.612 GB, free: 8.184 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.4383, allocations: 33.64 kB / 0.612 GB, free: 8.145 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.4384, allocations: 139.5 kB / 0.6122 GB, free: 8.004 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.4385, allocations: 23.73 kB / 0.6122 GB, free: 7.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.4385, allocations: 0 / 0.6122 GB, free: 7.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4386, allocations: 314.8 kB / 0.6125 GB, free: 7.664 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.4387, allocations: 35.97 kB / 0.6125 GB, free: 7.629 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.4388, allocations: 72.2 kB / 0.6126 GB, free: 7.543 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.439, allocations: 35.98 kB / 0.6126 GB, free: 7.508 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.439, allocations: 4 kB / 0.6126 GB, free: 7.504 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002815/0.4393, allocations: 137.4 kB / 0.6128 GB, free: 7.363 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.4393, allocations: 4 kB / 0.6128 GB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4393, allocations: 4.125 kB / 0.6128 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4393, allocations: 4 kB / 0.6128 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.4394, allocations: 27.98 kB / 0.6128 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4395, allocations: 0 / 0.6128 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.4396, allocations: 23.78 kB / 0.6128 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.4396, allocations: 8 kB / 0.6128 GB, free: 7.293 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 9.099e-05/0.4397, allocations: 121.8 kB / 0.613 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.4397, allocations: 15.91 kB / 0.613 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.4398, allocations: 12.3 kB / 0.613 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4398, allocations: 4 kB / 0.613 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4398, allocations: 0 / 0.613 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4398, allocations: 0 / 0.613 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.44, allocations: 205.8 kB / 0.6132 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.44, allocations: 3.984 kB / 0.6132 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.547e-05/0.4401, allocations: 20 kB / 0.6132 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.4401, allocations: 3.984 kB / 0.6132 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.4401, allocations: 4 kB / 0.6132 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4401, allocations: 0 / 0.6132 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4402, allocations: 0 / 0.6132 GB, free: 6.855 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.4404, allocations: 199.3 kB / 0.6134 GB, free: 6.645 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.4405, allocations: 85.02 kB / 0.6135 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.4405, allocations: 4 kB / 0.6135 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.4406, allocations: 15.97 kB / 0.6135 GB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.4407, allocations: 0 / 0.6135 GB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.4407, allocations: 4 kB / 0.6135 GB, free: 6.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.884e-05/0.4408, allocations: 114.6 kB / 0.6136 GB, free: 6.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4408, allocations: 0 / 0.6136 GB, free: 6.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.441, allocations: 31.84 kB / 0.6136 GB, free: 6.379 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.0001219/0.4411, allocations: 99.23 kB / 0.6137 GB, free: 6.273 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.4414, allocations: 91.88 kB / 0.6138 GB, free: 6.184 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4414, allocations: 7.875 kB / 0.6138 GB, free: 6.176 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.739e-05/0.4415, allocations: 31.92 kB / 0.6139 GB, free: 6.145 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.4417, allocations: 11.95 kB / 0.6139 GB, free: 6.133 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/0.4423, allocations: 322.3 kB / 0.6142 GB, free: 5.793 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.4425, allocations: 0.708 MB / 0.6149 GB, free: 5.059 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.4426, allocations: 8.656 kB / 0.6149 GB, free: 5.051 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.4426, allocations: 15.38 kB / 0.6149 GB, free: 5.035 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4426, allocations: 0 / 0.6149 GB, free: 5.035 MB / 426.7 MB Notification: Performance of Templates: time 0.002899/0.4455, allocations: 0.7054 MB / 0.6156 GB, free: 4.336 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/jenkins/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