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/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 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 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00795/0.00795, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001454/0.001454, allocations: 195.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.373/0.373, allocations: 43.5 MB / 313.5 MB, free: 8.273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 67.91 kB / 382 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1504, allocations: 57.79 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.004176/0.1546, allocations: 1.936 MB / 441.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1559, allocations: 0.5892 MB / 442.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.1561, allocations: 4 kB / 442.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.1563, allocations: 27.83 kB / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.1565, allocations: 27.77 kB / 442.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.1568, allocations: 35.97 kB / 442.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.157, allocations: 139.5 kB / 442.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.1572, allocations: 61.75 kB / 442.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.1574, allocations: 59.73 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.1575, allocations: 63.69 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.1575, allocations: 12 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.569e-05/0.1575, allocations: 8 kB / 442.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.1576, allocations: 23.92 kB / 442.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.602e-05/0.1577, allocations: 67.66 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.1579, allocations: 159.7 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1579, allocations: 0 / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1579, allocations: 0 / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1579, allocations: 0 / 443 MB, free: 11.39 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.0007094/0.1586, allocations: 439.3 kB / 443.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1587, allocations: 12.03 kB / 443.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.1587, allocations: 12.75 kB / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.159, allocations: 212.1 kB / 443.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.159, allocations: 8.656 kB / 443.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.159, allocations: 16.38 kB / 443.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.1594, allocations: 144.1 kB / 443.8 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1594, allocations: 0 / 443.8 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.1594, allocations: 8 kB / 443.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1594, allocations: 0 / 443.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.1597, allocations: 112.1 kB / 444 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.161, allocations: 0.5987 MB / 444.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.1613, allocations: 82.45 kB / 444.6 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.981e-05/0.1614, allocations: 29 kB / 444.7 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1614, allocations: 0 / 444.7 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.1615, allocations: 30.56 kB / 444.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.1615, allocations: 0 / 444.7 MB, free: 9.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000419/0.1619, allocations: 117.5 kB / 444.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.1619, allocations: 51.41 kB / 444.9 MB, free: 9.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.1621, allocations: 149.8 kB / 445 MB, free: 9.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.1622, allocations: 25.7 kB / 445 MB, free: 9.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.1623, allocations: 135.5 kB / 445.2 MB, free: 9.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.1623, allocations: 19.75 kB / 445.2 MB, free: 9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.1624, allocations: 25.62 kB / 445.2 MB, free: 8.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1625, allocations: 322.8 kB / 445.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.1627, allocations: 31.97 kB / 445.6 MB, free: 8.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.1628, allocations: 60.52 kB / 445.6 MB, free: 8.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.1631, allocations: 96.19 kB / 445.7 MB, free: 8.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1631, allocations: 4 kB / 445.7 MB, free: 8.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003037/0.1634, allocations: 133.5 kB / 445.8 MB, free: 8.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.1634, allocations: 4 kB / 445.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1634, allocations: 0 / 445.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.1635, allocations: 4 kB / 445.9 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1636, allocations: 27.92 kB / 445.9 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.1636, allocations: 3.938 kB / 445.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.607e-05/0.1637, allocations: 23.77 kB / 445.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.1638, allocations: 8 kB / 445.9 MB, free: 8.219 MB / 382.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.0001151/0.1639, allocations: 117.9 kB / 446 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.1639, allocations: 7.906 kB / 446 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.164, allocations: 16.3 kB / 446.1 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.164, allocations: 3.938 kB / 446.1 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.164, allocations: 0 / 446.1 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.164, allocations: 0 / 446.1 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.1642, allocations: 205.6 kB / 446.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1643, allocations: 0 / 446.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.64e-05/0.1643, allocations: 15.98 kB / 446.3 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1644, allocations: 4 kB / 446.3 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1644, allocations: 8 kB / 446.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1644, allocations: 3.938 kB / 446.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1644, allocations: 0 / 446.3 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.1647, allocations: 187.3 kB / 446.5 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.1648, allocations: 81.02 kB / 446.6 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1648, allocations: 4 kB / 446.6 MB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/0.1649, allocations: 15.92 kB / 446.6 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.165, allocations: 7.938 kB / 446.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.165, allocations: 0 / 446.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1651, allocations: 112 kB / 446.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1651, allocations: 0 / 446.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1654, allocations: 31.84 kB / 446.7 MB, free: 7.32 MB / 382.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.0001671/0.1656, allocations: 99.17 kB / 446.8 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.1659, allocations: 71.89 kB / 446.9 MB, free: 7.145 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1659, allocations: 0 / 446.9 MB, free: 7.145 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.166, allocations: 39.97 kB / 446.9 MB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.1664, allocations: 8 kB / 446.9 MB, free: 7.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007262/0.1672, allocations: 315.8 kB / 447.2 MB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006056/0.1678, allocations: 0.708 MB / 447.9 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.06e-05/0.1678, allocations: 8.609 kB / 448 MB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.168, allocations: 19.42 kB / 448 MB, free: 6.004 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.168, allocations: 0 / 448 MB, free: 6.004 MB / 382.1 MB Notification: Performance of Templates: time 0.003795/0.1718, allocations: 0.6226 MB / 448.6 MB, free: 5.383 MB / 382.1 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/jenkins/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