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.001033/0.001034, allocations: 101.9 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001319, allocations: 183.5 kB / 16.92 MB, free: 6.918 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.873/1.873, allocations: 205.4 MB / 223.1 MB, free: 5.496 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.4366/0.4366, allocations: 43.57 MB / 315 MB, free: 8.797 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.0005872/0.0005872, allocations: 12 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1515, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002535/0.1541, allocations: 1.59 MB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1551, allocations: 0.5814 MB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.165e-05/0.1552, allocations: 0 / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.1554, allocations: 23.8 kB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.1556, allocations: 31.83 kB / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.1557, allocations: 31.97 kB / 445.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.1559, allocations: 151.4 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1561, allocations: 49.78 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.1563, allocations: 55.77 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.134e-05/0.1563, allocations: 55.7 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1564, allocations: 8 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.1e-05/0.1564, allocations: 8 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.1564, allocations: 27.92 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.1565, allocations: 85.38 kB / 446.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.1567, allocations: 147.6 kB / 446.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1567, allocations: 0 / 446.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1567, allocations: 0 / 446.3 MB, free: 9.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1567, allocations: 0 / 446.3 MB, free: 9.805 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.0006358/0.1574, allocations: 423.4 kB / 446.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1574, allocations: 12.03 kB / 446.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.1575, allocations: 12.75 kB / 446.7 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.1577, allocations: 204.1 kB / 446.9 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1578, allocations: 12.64 kB / 446.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1578, allocations: 16.38 kB / 446.9 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003697/0.1582, allocations: 152 kB / 447.1 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1582, allocations: 8 kB / 447.1 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.1582, allocations: 4 kB / 447.1 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1582, allocations: 4 kB / 447.1 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.1586, allocations: 112.2 kB / 447.2 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.1598, allocations: 0.6181 MB / 447.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.1601, allocations: 74.56 kB / 447.9 MB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.1602, allocations: 37.02 kB / 447.9 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.1603, allocations: 7.984 kB / 447.9 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.1603, allocations: 34.5 kB / 448 MB, free: 7.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.1603, allocations: 0 / 448 MB, free: 7.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004751/0.1608, allocations: 129.5 kB / 448.1 MB, free: 7.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.1608, allocations: 55.41 kB / 448.2 MB, free: 7.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.161, allocations: 149.7 kB / 448.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.161, allocations: 29.69 kB / 448.3 MB, free: 7.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.1611, allocations: 131.5 kB / 448.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.1612, allocations: 23.73 kB / 448.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.1612, allocations: 13.72 kB / 448.5 MB, free: 7.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1613, allocations: 322.8 kB / 448.8 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.1615, allocations: 31.98 kB / 448.9 MB, free: 6.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1616, allocations: 64.27 kB / 448.9 MB, free: 6.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.1618, allocations: 112.1 kB / 449 MB, free: 6.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1619, allocations: 4 kB / 449 MB, free: 6.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002951/0.1622, allocations: 133.5 kB / 449.2 MB, free: 6.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1622, allocations: 8.125 kB / 449.2 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1622, allocations: 4 kB / 449.2 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1622, allocations: 0 / 449.2 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1624, allocations: 35.86 kB / 449.2 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.1624, allocations: 4 kB / 449.2 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.687e-05/0.1625, allocations: 19.83 kB / 449.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1625, allocations: 8 kB / 449.2 MB, free: 6.574 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.0001027/0.1626, allocations: 117.8 kB / 449.4 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.1626, allocations: 15.89 kB / 449.4 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.1627, allocations: 12.31 kB / 449.4 MB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1627, allocations: 3.938 kB / 449.4 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.1627, allocations: 3.984 kB / 449.4 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1627, allocations: 0 / 449.4 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1629, allocations: 201.6 kB / 449.6 MB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.163, allocations: 3.938 kB / 449.6 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.574e-05/0.1631, allocations: 27.92 kB / 449.6 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.1631, allocations: 4 kB / 449.6 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1631, allocations: 0 / 449.6 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1631, allocations: 7.875 kB / 449.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1631, allocations: 4 kB / 449.6 MB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003084/0.1634, allocations: 195.4 kB / 449.8 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/0.1635, allocations: 81.02 kB / 449.9 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.1635, allocations: 4.312 kB / 449.9 MB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-05/0.1636, allocations: 15.92 kB / 449.9 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.1637, allocations: 8 kB / 449.9 MB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.1637, allocations: 0 / 449.9 MB, free: 5.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.004e-05/0.1638, allocations: 116 kB / 450 MB, free: 5.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.1638, allocations: 4 kB / 450 MB, free: 5.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.164, allocations: 31.78 kB / 450.1 MB, free: 5.641 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.0001096/0.1641, allocations: 95.17 kB / 450.2 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.1644, allocations: 84.08 kB / 450.2 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1644, allocations: 0 / 450.2 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.1645, allocations: 39.97 kB / 450.3 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.1649, allocations: 0 / 450.3 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.1654, allocations: 341.7 kB / 450.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.1657, allocations: 0.7119 MB / 451.3 MB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.449e-05/0.1658, allocations: 4.672 kB / 451.3 MB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.1658, allocations: 7.438 kB / 451.3 MB, free: 4.305 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1658, allocations: 0 / 451.3 MB, free: 4.305 MB / 382.1 MB Notification: Performance of Templates: time 0.003349/0.1692, allocations: 0.6343 MB / 452 MB, free: 3.672 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