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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001413/0.001414, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001777/0.001777, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 46.1 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 78.92 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1398, allocations: 62.44 MB / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003405/0.1432, allocations: 1.98 MB / 481.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.1442, allocations: 0.6038 MB / 481.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.1443, allocations: 0 / 481.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.1445, allocations: 27.84 kB / 481.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.1447, allocations: 31.77 kB / 481.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.1448, allocations: 27.98 kB / 482 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.145, allocations: 147.4 kB / 482.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1452, allocations: 53.86 kB / 482.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.1452, allocations: 51.84 kB / 482.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.1453, allocations: 63.7 kB / 482.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.1454, allocations: 12 kB / 482.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.687e-05/0.1454, allocations: 8 kB / 482.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.1454, allocations: 35.78 kB / 482.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.185e-05/0.1455, allocations: 63.66 kB / 482.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.1457, allocations: 155.7 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1457, allocations: 0 / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1457, allocations: 0 / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.1457, allocations: 0 / 482.5 MB, free: 2.477 MB / 350.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.0006944/0.1464, allocations: 447.3 kB / 483 MB, free: 1.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.1465, allocations: 12.88 kB / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.1465, allocations: 16.75 kB / 483 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1468, allocations: 196.1 kB / 483.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1468, allocations: 8.656 kB / 483.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.1468, allocations: 20.31 kB / 483.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.1471, allocations: 148.1 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1471, allocations: 0 / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.1472, allocations: 8 kB / 483.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1472, allocations: 4 kB / 483.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.1475, allocations: 100.8 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009865/0.1485, allocations: 0.6104 MB / 484.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.1487, allocations: 66.58 kB / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1489, allocations: 33.02 kB / 484.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.1489, allocations: 3.938 kB / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.1489, allocations: 42.48 kB / 484.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.587e-06/0.1489, allocations: 3.984 kB / 484.2 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004111/0.1494, allocations: 105.5 kB / 484.3 MB, free: 500 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.1494, allocations: 51.41 kB / 484.4 MB, free: 436 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1496, allocations: 154.4 kB / 484.5 MB, free: 264 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1496, allocations: 29.69 kB / 484.6 MB, free: 228 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.1497, allocations: 135.5 kB / 484.7 MB, free: 88 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.1497, allocations: 23.73 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.1498, allocations: 25.62 kB / 484.8 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1499, allocations: 318.8 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.15, allocations: 27.98 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.1502, allocations: 68.2 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.1504, allocations: 96.19 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1504, allocations: 256 / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002969/0.1507, allocations: 125.4 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1507, allocations: 10.34 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1508, allocations: 4 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1508, allocations: 0 / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.1509, allocations: 32.05 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.1509, allocations: 4 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.623e-05/0.151, allocations: 15.92 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1511, allocations: 0 / 485.4 MB, free: 15.3 MB / 366.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 0.0001261/0.1512, allocations: 125.8 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.1512, allocations: 7.906 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.1513, allocations: 16.3 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1513, allocations: 3.938 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1513, allocations: 4 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1513, allocations: 0 / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.1515, allocations: 205.5 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1516, allocations: 3.938 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.129e-05/0.1517, allocations: 15.98 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1517, allocations: 0 / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1517, allocations: 15.92 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1517, allocations: 3.938 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1517, allocations: 0 / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.152, allocations: 183.4 kB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.152, allocations: 84.95 kB / 486.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1521, allocations: 0 / 486.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.1522, allocations: 15.92 kB / 486.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.1522, allocations: 4 kB / 486.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1522, allocations: 0 / 486.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1524, allocations: 118.8 kB / 486.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1524, allocations: 4 kB / 486.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1526, allocations: 27.84 kB / 486.3 MB, free: 14.39 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001267/0.1527, allocations: 91.25 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.153, allocations: 71.88 kB / 486.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1531, allocations: 0 / 486.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.1532, allocations: 40.22 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.1535, allocations: 4 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.154, allocations: 316 kB / 486.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.1543, allocations: 0.7118 MB / 487.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.674e-05/0.1543, allocations: 12.66 kB / 487.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.1544, allocations: 11.44 kB / 487.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1544, allocations: 0 / 487.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of Templates: time 0.002937/0.1573, allocations: 0.6364 MB / 488.1 MB, free: 12.45 MB / 366.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches