Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009315/0.0009314, allocations: 92.56 kB / 16.98 MB, free: 5.938 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.0009309/0.0009309, allocations: 181.8 kB / 17.87 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2273/0.2273, allocations: 44.22 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004204/0.0004205, allocations: 12.94 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.149, allocations: 61.92 MB / 471.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002719/0.1518, allocations: 1.528 MB / 473 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.153, allocations: 0.5186 MB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.1532, allocations: 7.938 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.1534, allocations: 35.77 kB / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.1536, allocations: 31.92 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.1539, allocations: 35.91 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.1542, allocations: 91.83 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.1544, allocations: 53.7 kB / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.1546, allocations: 47.84 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1547, allocations: 51.77 kB / 473.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.1548, allocations: 8 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.695e-05/0.1548, allocations: 8 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.1548, allocations: 19.92 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.1549, allocations: 57.58 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.1551, allocations: 119.9 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1551, allocations: 0 / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.1551, allocations: 0 / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1551, allocations: 0 / 474.1 MB, free: 11.1 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.0007863/0.1559, allocations: 423.2 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.156, allocations: 12.03 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.453e-05/0.1561, allocations: 15.81 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.1564, allocations: 194.9 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.1565, allocations: 12.27 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.1565, allocations: 19.95 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/0.1569, allocations: 139.8 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.157, allocations: 3.938 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.157, allocations: 8 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.157, allocations: 4 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.1574, allocations: 112.8 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.1587, allocations: 0.6225 MB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.159, allocations: 74.58 kB / 475.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.159, allocations: 4 kB / 475.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.159, allocations: 34.5 kB / 475.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.159, allocations: 0 / 475.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000437/0.1595, allocations: 129.6 kB / 475.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1595, allocations: 51.41 kB / 475.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1597, allocations: 150.3 kB / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.1597, allocations: 29.7 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1598, allocations: 139.4 kB / 476.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.1599, allocations: 15.75 kB / 476.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.1599, allocations: 4 kB / 476.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.16, allocations: 326.8 kB / 476.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1601, allocations: 31.97 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1603, allocations: 68.22 kB / 476.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.1604, allocations: 51.91 kB / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1604, allocations: 0 / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003179/0.1607, allocations: 129.4 kB / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.1608, allocations: 12.12 kB / 476.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1608, allocations: 3.984 kB / 476.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.1608, allocations: 4 kB / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.161, allocations: 27.97 kB / 476.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.161, allocations: 4 kB / 476.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.1611, allocations: 19.89 kB / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1612, allocations: 4 kB / 476.9 MB, free: 8.016 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.1613, allocations: 134.2 kB / 477 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.683e-05/0.1614, allocations: 11.84 kB / 477 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.541e-05/0.1614, allocations: 12.31 kB / 477 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1614, allocations: 0 / 477 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1614, allocations: 0 / 477 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1614, allocations: 0 / 477 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.1618, allocations: 209.6 kB / 477.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1618, allocations: 4 kB / 477.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.803e-05/0.1619, allocations: 15.98 kB / 477.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1619, allocations: 4 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1619, allocations: 0 / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.162, allocations: 4 kB / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.162, allocations: 0 / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.1623, allocations: 207.6 kB / 477.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.474e-05/0.1624, allocations: 85 kB / 477.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.1625, allocations: 4 kB / 477.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/0.1626, allocations: 4 kB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.1627, allocations: 7.984 kB / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1627, allocations: 0 / 477.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.1628, allocations: 109.3 kB / 477.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1628, allocations: 0 / 477.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.1631, allocations: 31.84 kB / 477.7 MB, free: 7.102 MB / 350.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 (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.0001673/0.1633, allocations: 99.23 kB / 477.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.1636, allocations: 84.14 kB / 477.9 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1636, allocations: 4.062 kB / 477.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1637, allocations: 31.98 kB / 477.9 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.164, allocations: 4 kB / 477.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/0.1647, allocations: 329.5 kB / 478.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.1652, allocations: 0.7119 MB / 479 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.383e-05/0.1653, allocations: 12.59 kB / 479 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.1653, allocations: 11.44 kB / 479 MB, free: 5.758 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1653, allocations: 0 / 479 MB, free: 5.758 MB / 350.1 MB Notification: Performance of Templates: time 0.003444/0.1688, allocations: 0.6093 MB / 479.6 MB, free: 5.156 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches