Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001634/0.001634, allocations: 111.1 kB / 18.45 MB, free: 4.566 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.001874/0.001874, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 254.8 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2444/0.2444, allocations: 46.93 MB / 357.8 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.88 kB / 0.4921 GB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1523, allocations: 66 MB / 0.5565 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003124/0.1554, allocations: 1.57 MB / 0.558 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002854/0.1557, allocations: 63.77 kB / 0.5581 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.681e-05/0.1557, allocations: 0 / 0.5581 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.1559, allocations: 23.78 kB / 0.5581 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.1559, allocations: 7.922 kB / 0.5581 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.1561, allocations: 23.97 kB / 0.5582 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.1563, allocations: 67.83 kB / 0.5582 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002899/0.1566, allocations: 113.6 kB / 0.5583 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.372e-05/0.1566, allocations: 39.91 kB / 0.5584 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.976e-05/0.1567, allocations: 43.83 kB / 0.5584 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1567, allocations: 8 kB / 0.5584 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.115e-05/0.1568, allocations: 12 kB / 0.5584 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.358e-05/0.1569, allocations: 63.83 kB / 0.5585 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.279e-05/0.157, allocations: 63.61 kB / 0.5586 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.1572, allocations: 155.2 kB / 0.5587 GB, free: 3.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1572, allocations: 0 / 0.5587 GB, free: 3.051 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1572, allocations: 0 / 0.5587 GB, free: 3.051 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1572, allocations: 0 / 0.5587 GB, free: 3.051 MB / 414.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.0006448/0.1578, allocations: 447.1 kB / 0.5591 GB, free: 2.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1579, allocations: 12.03 kB / 0.5591 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.1579, allocations: 20.84 kB / 0.5592 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.1582, allocations: 216.1 kB / 0.5594 GB, free: 2.285 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.1582, allocations: 16.75 kB / 0.5594 GB, free: 2.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.1583, allocations: 16.38 kB / 0.5594 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.1586, allocations: 192.9 kB / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1587, allocations: 3.938 kB / 0.5596 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.1587, allocations: 8 kB / 0.5596 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.1587, allocations: 4 kB / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.1589, allocations: 131.3 kB / 0.5597 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007009/0.1596, allocations: 493.6 kB / 0.5602 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1597, allocations: 38.56 kB / 0.5602 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.843e-05/0.1598, allocations: 36.91 kB / 0.5603 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.1598, allocations: 0 / 0.5603 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.1599, allocations: 38.55 kB / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1599, allocations: 3.938 kB / 0.5603 GB, free: 1.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002619/0.1601, allocations: 85.5 kB / 0.5604 GB, free: 1.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1602, allocations: 51.41 kB / 0.5604 GB, free: 1.098 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.1603, allocations: 105.8 kB / 0.5605 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1603, allocations: 33.7 kB / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.702e-05/0.1604, allocations: 140.1 kB / 0.5607 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.1604, allocations: 11.86 kB / 0.5607 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.1604, allocations: 17.72 kB / 0.5607 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1606, allocations: 314.8 kB / 0.561 GB, free: 460 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.059e-05/0.1606, allocations: 12 kB / 0.561 GB, free: 448 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.1607, allocations: 11.98 kB / 0.5611 GB, free: 436 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.125e-05/0.1608, allocations: 40.78 kB / 0.5611 GB, free: 392 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1608, allocations: 0 / 0.5611 GB, free: 392 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001393/0.1609, allocations: 69.61 kB / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1609, allocations: 4 kB / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1609, allocations: 0 / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1609, allocations: 0 / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.433e-05/0.161, allocations: 8 kB / 0.5612 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.161, allocations: 0 / 0.5612 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.1611, allocations: 11.92 kB / 0.5612 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1611, allocations: 4 kB / 0.5612 GB, free: 288 kB / 414.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.0001134/0.1612, allocations: 133.8 kB / 0.5613 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.1612, allocations: 11.83 kB / 0.5613 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.1612, allocations: 7.969 kB / 0.5613 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1612, allocations: 7.984 kB / 0.5613 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1612, allocations: 0 / 0.5613 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1612, allocations: 448 / 0.5613 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.1617, allocations: 362.5 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1617, allocations: 4 kB / 0.5617 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.1617, allocations: 19.91 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1617, allocations: 0 / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1618, allocations: 4 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1618, allocations: 0 / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1618, allocations: 0 / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.162, allocations: 167.4 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.162, allocations: 81.11 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.162, allocations: 3.938 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.766e-05/0.1621, allocations: 4 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.1621, allocations: 0 / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1621, allocations: 3.984 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.693e-05/0.1622, allocations: 87.28 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1622, allocations: 0 / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1624, allocations: 27.84 kB / 0.5621 GB, free: 15.27 MB / 430.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.0001198/0.1625, allocations: 99.12 kB / 0.5622 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.1627, allocations: 39.91 kB / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1627, allocations: 0 / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.52e-05/0.1627, allocations: 16 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.163, allocations: 16.52 kB / 0.5622 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006257/0.1637, allocations: 301.2 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.1641, allocations: 0.7353 MB / 0.5632 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.1641, allocations: 11.44 kB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1641, allocations: 0 / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of Templates: time 0.003231/0.1674, allocations: 1.228 MB / 0.5644 GB, free: 12.77 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.903895854979055]