Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 79.34 kB / 20.52 MB, free: 1.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 167.1 kB / 23.76 MB, free: 4.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2252/0.2252, allocations: 32.38 MB / 270.1 MB, free: 2.695 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|y1|y2|y3|y4|y5|clock.y|mux5.y.1.|mux5.y.2.|mux5.y.3.|mux5.y.4.|mux5.y.5.|demux5.y.1.|demux5.y.2.|demux5.y.3.|demux5.y.4.|demux5.y.5.|mux3.y.1.|mux3.y.2.|mux3.y.3.|mux2.y.1.|mux2.y.2.|demux2.y.1.|demux2.y.2.|demux3.y.1.|demux3.y.2.|demux3.y.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux") translateModel(ModelicaTest.Blocks.MuxDemux,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|y1|y2|y3|y4|y5|clock.y|mux5.y.1.|mux5.y.2.|mux5.y.3.|mux5.y.4.|mux5.y.5.|demux5.y.1.|demux5.y.2.|demux5.y.3.|demux5.y.4.|demux5.y.5.|mux3.y.1.|mux3.y.2.|mux3.y.3.|mux2.y.1.|mux2.y.2.|demux2.y.1.|demux2.y.2.|demux3.y.1.|demux3.y.2.|demux3.y.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 67.91 kB / 407.8 MB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1485, allocations: 61.04 MB / 468.8 MB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003589/0.1521, allocations: 1.518 MB / 470.3 MB, free: 6.773 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001772/0.1523, allocations: 55.83 kB / 470.4 MB, free: 6.719 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.1523, allocations: 7.875 kB / 470.4 MB, free: 6.711 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.1525, allocations: 19.86 kB / 470.4 MB, free: 6.691 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.816e-05/0.1525, allocations: 7.922 kB / 470.4 MB, free: 6.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.1526, allocations: 15.98 kB / 470.4 MB, free: 6.668 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1528, allocations: 71.81 kB / 470.5 MB, free: 6.598 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.1531, allocations: 87.61 kB / 470.6 MB, free: 6.508 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.173e-05/0.1531, allocations: 31.86 kB / 470.6 MB, free: 6.477 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.1532, allocations: 39.83 kB / 470.6 MB, free: 6.438 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.1532, allocations: 8 kB / 470.7 MB, free: 6.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.736e-05/0.1532, allocations: 12 kB / 470.7 MB, free: 6.418 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.578e-05/0.1533, allocations: 67.83 kB / 470.7 MB, free: 6.352 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.1534, allocations: 47.73 kB / 470.8 MB, free: 6.305 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.1536, allocations: 159.2 kB / 470.9 MB, free: 6.148 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1536, allocations: 3.938 kB / 470.9 MB, free: 6.145 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.162e-06/0.1537, allocations: 4 kB / 470.9 MB, free: 6.141 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.1537, allocations: 0 / 470.9 MB, free: 6.141 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005891/0.1543, allocations: 362.1 kB / 471.3 MB, free: 5.758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.1543, allocations: 12.03 kB / 471.3 MB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.1544, allocations: 16.84 kB / 471.3 MB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.1546, allocations: 158.3 kB / 471.5 MB, free: 5.551 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1546, allocations: 16.75 kB / 471.5 MB, free: 5.535 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.1547, allocations: 16.38 kB / 471.5 MB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.155, allocations: 196.9 kB / 471.7 MB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.155, allocations: 3.938 kB / 471.7 MB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.155, allocations: 4 kB / 471.7 MB, free: 5.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.1551, allocations: 4 kB / 471.7 MB, free: 5.309 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.1553, allocations: 135.2 kB / 471.8 MB, free: 5.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.1559, allocations: 397 kB / 472.2 MB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.156, allocations: 38.56 kB / 472.3 MB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/0.1561, allocations: 36.84 kB / 472.3 MB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.1561, allocations: 0 / 472.3 MB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1561, allocations: 34.5 kB / 472.3 MB, free: 4.629 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.1561, allocations: 0 / 472.3 MB, free: 4.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002475/0.1564, allocations: 69.67 kB / 472.4 MB, free: 4.555 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.1564, allocations: 59.41 kB / 472.5 MB, free: 4.484 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1565, allocations: 109.8 kB / 472.6 MB, free: 4.367 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.1566, allocations: 29.7 kB / 472.6 MB, free: 4.332 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1567, allocations: 144.1 kB / 472.7 MB, free: 4.188 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.1567, allocations: 7.906 kB / 472.7 MB, free: 4.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.1567, allocations: 21.7 kB / 472.8 MB, free: 4.152 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1569, allocations: 318.8 kB / 473.1 MB, free: 3.832 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.1569, allocations: 11.98 kB / 473.1 MB, free: 3.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.163e-05/0.1569, allocations: 11.94 kB / 473.1 MB, free: 3.809 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.898e-05/0.157, allocations: 36.84 kB / 473.1 MB, free: 3.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.157, allocations: 0 / 473.1 MB, free: 3.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001218/0.1571, allocations: 73.56 kB / 473.2 MB, free: 3.691 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1571, allocations: 4 kB / 473.2 MB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1571, allocations: 0 / 473.2 MB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1572, allocations: 0 / 473.2 MB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.019e-05/0.1573, allocations: 11.94 kB / 473.2 MB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1573, allocations: 0 / 473.2 MB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.1573, allocations: 4.438 kB / 473.2 MB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1573, allocations: 0 / 473.2 MB, free: 3.672 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001408/0.1574, allocations: 145.8 kB / 473.4 MB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.1575, allocations: 3.938 kB / 473.4 MB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.1575, allocations: 8.125 kB / 473.4 MB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1575, allocations: 4 kB / 473.4 MB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.1575, allocations: 4 kB / 473.4 MB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.1575, allocations: 3.984 kB / 473.4 MB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.1578, allocations: 290.1 kB / 473.7 MB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1578, allocations: 4 kB / 473.7 MB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.1579, allocations: 11.98 kB / 473.7 MB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1579, allocations: 4 kB / 473.7 MB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.1579, allocations: 0 / 473.7 MB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1579, allocations: 3.938 kB / 473.7 MB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1579, allocations: 0 / 473.7 MB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.1581, allocations: 159.5 kB / 473.9 MB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.1581, allocations: 11.95 kB / 473.9 MB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.1581, allocations: 0 / 473.9 MB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.814e-05/0.1581, allocations: 0 / 473.9 MB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.1582, allocations: 15.91 kB / 473.9 MB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.1582, allocations: 0 / 473.9 MB, free: 2.957 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.173e-05/0.1582, allocations: 87.28 kB / 474 MB, free: 2.871 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1582, allocations: 4 kB / 474 MB, free: 2.867 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1585, allocations: 23.84 kB / 474 MB, free: 2.844 MB / 446.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 9.537e-05/0.1586, allocations: 95.23 kB / 474.1 MB, free: 2.738 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.1587, allocations: 31.98 kB / 474.1 MB, free: 2.707 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1587, allocations: 0 / 474.1 MB, free: 2.707 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.1587, allocations: 15.92 kB / 474.1 MB, free: 2.691 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1591, allocations: 20.31 kB / 474.2 MB, free: 2.672 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005801/0.1596, allocations: 275.3 kB / 474.4 MB, free: 2.375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.1598, allocations: 114.2 kB / 474.5 MB, free: 2.238 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.344e-05/0.1598, allocations: 7.938 kB / 474.5 MB, free: 2.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.1598, allocations: 12.5 kB / 474.6 MB, free: 2.219 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1598, allocations: 0 / 474.6 MB, free: 2.219 MB / 446.1 MB Notification: Performance of Templates: time 0.003533/0.1634, allocations: 0.6923 MB / 475.3 MB, free: 1.531 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.526509533985518]