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.001548/0.001548, allocations: 110.6 kB / 16.41 MB, free: 6.504 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.001401/0.001401, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.817/1.817, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2334/0.2334, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 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.002975/0.002975, allocations: 69.45 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1505, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.004309/0.1548, allocations: 1.868 MB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.1562, allocations: 0.6238 MB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.1563, allocations: 4 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.1566, allocations: 31.72 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.1568, allocations: 27.78 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.1571, allocations: 51.86 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.1574, allocations: 147.5 kB / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.1576, allocations: 65.34 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.1578, allocations: 67.7 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.158, allocations: 63.7 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.158, allocations: 12 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.79e-05/0.1581, allocations: 16 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.1581, allocations: 31.91 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.086e-05/0.1582, allocations: 67.67 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1585, allocations: 155.5 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1585, allocations: 4 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1585, allocations: 0 / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.1585, allocations: 0 / 0.491 GB, free: 8.551 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.0006741/0.1592, allocations: 443.2 kB / 0.4914 GB, free: 8.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1592, allocations: 8.031 kB / 0.4914 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.739e-05/0.1593, allocations: 20.75 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.1597, allocations: 204.1 kB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1597, allocations: 16.66 kB / 0.4917 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1597, allocations: 12.38 kB / 0.4917 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.1601, allocations: 140.1 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1601, allocations: 0 / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.1601, allocations: 4 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1601, allocations: 4 kB / 0.4918 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.1604, allocations: 112.1 kB / 0.4919 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.1615, allocations: 0.5986 MB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.1617, allocations: 74.52 kB / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/0.1618, allocations: 25.02 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1619, allocations: 3.984 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.1619, allocations: 30.56 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1619, allocations: 4 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003722/0.1623, allocations: 113.7 kB / 0.4928 GB, free: 6.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.1624, allocations: 51.41 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.1625, allocations: 149.7 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.1625, allocations: 25.7 kB / 0.493 GB, free: 6.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.1626, allocations: 135.5 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.1626, allocations: 23.7 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.1627, allocations: 21.72 kB / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1628, allocations: 318.8 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.58e-05/0.1629, allocations: 36.05 kB / 0.4935 GB, free: 5.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.163, allocations: 64.2 kB / 0.4935 GB, free: 5.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.1632, allocations: 96.19 kB / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1632, allocations: 0 / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003013/0.1635, allocations: 137.4 kB / 0.4938 GB, free: 5.457 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1636, allocations: 4 kB / 0.4938 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1636, allocations: 8.062 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1636, allocations: 4 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1637, allocations: 27.92 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1638, allocations: 0 / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.639e-05/0.1639, allocations: 23.77 kB / 0.4938 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1639, allocations: 8 kB / 0.4938 GB, free: 5.383 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 9.434e-05/0.164, allocations: 117.8 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.164, allocations: 7.906 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.1641, allocations: 16.31 kB / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1641, allocations: 11.86 kB / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.1641, allocations: 0 / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1641, allocations: 0 / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.1643, allocations: 201.6 kB / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1643, allocations: 4 kB / 0.4942 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-05/0.1644, allocations: 15.98 kB / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1644, allocations: 0 / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.1644, allocations: 4 kB / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1644, allocations: 3.938 kB / 0.4942 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1645, allocations: 4 kB / 0.4942 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.1647, allocations: 187.3 kB / 0.4944 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1649, allocations: 81.02 kB / 0.4945 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1649, allocations: 4 kB / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.165, allocations: 15.92 kB / 0.4945 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.165, allocations: 0 / 0.4945 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.165, allocations: 8.062 kB / 0.4945 GB, free: 4.617 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.852e-05/0.1651, allocations: 119.9 kB / 0.4946 GB, free: 4.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1651, allocations: 0 / 0.4946 GB, free: 4.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1654, allocations: 27.84 kB / 0.4946 GB, free: 4.473 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.0001875/0.1656, allocations: 91.25 kB / 0.4947 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.1659, allocations: 68.08 kB / 0.4948 GB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1659, allocations: 4.062 kB / 0.4948 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.28e-05/0.166, allocations: 39.91 kB / 0.4948 GB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.1662, allocations: 4 kB / 0.4948 GB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.1668, allocations: 263.5 kB / 0.4951 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.1671, allocations: 0.7119 MB / 0.4958 GB, free: 3.234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.502e-05/0.1671, allocations: 8.609 kB / 0.4958 GB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.1672, allocations: 7.438 kB / 0.4958 GB, free: 3.219 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1672, allocations: 4 kB / 0.4958 GB, free: 3.215 MB / 382.1 MB Notification: Performance of Templates: time 0.00336/0.1705, allocations: 0.7252 MB / 0.4965 GB, free: 2.496 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches