Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001397/0.001397, allocations: 121.5 kB / 18.45 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00159/0.00159, allocations: 201.8 kB / 21.4 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.4 MB / 251.6 MB, free: 52 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3126/0.3126, allocations: 46.17 MB / 351.1 MB, free: 14.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 81.12 kB / 490.2 MB, free: 28.12 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1512, allocations: 62.45 MB / 0.5397 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003381/0.1546, allocations: 1.562 MB / 0.5412 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002836/0.1549, allocations: 75.69 kB / 0.5413 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.973e-05/0.155, allocations: 3.938 kB / 0.5413 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001798/0.1552, allocations: 15.86 kB / 0.5413 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.866e-05/0.1552, allocations: 3.938 kB / 0.5413 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1554, allocations: 23.97 kB / 0.5413 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1556, allocations: 67.88 kB / 0.5414 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003195/0.1559, allocations: 123.4 kB / 0.5415 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.431e-05/0.156, allocations: 39.84 kB / 0.5415 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.885e-05/0.1561, allocations: 43.84 kB / 0.5416 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.1561, allocations: 12 kB / 0.5416 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.034e-05/0.1561, allocations: 11.94 kB / 0.5416 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1562, allocations: 67.81 kB / 0.5417 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.1563, allocations: 63.61 kB / 0.5417 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.1566, allocations: 151.2 kB / 0.5419 GB, free: 1.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1566, allocations: 4 kB / 0.5419 GB, free: 1.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1566, allocations: 0 / 0.5419 GB, free: 1.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1566, allocations: 0 / 0.5419 GB, free: 1.977 MB / 398.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.0005869/0.1572, allocations: 439.2 kB / 0.5423 GB, free: 1.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1572, allocations: 16.03 kB / 0.5423 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.1573, allocations: 20.84 kB / 0.5423 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1576, allocations: 224 kB / 0.5425 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.1576, allocations: 16.75 kB / 0.5426 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.1576, allocations: 12.38 kB / 0.5426 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.158, allocations: 205.6 kB / 0.5428 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.158, allocations: 3.938 kB / 0.5428 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.1581, allocations: 4 kB / 0.5428 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.1581, allocations: 4 kB / 0.5428 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.1583, allocations: 135.2 kB / 0.5429 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006697/0.159, allocations: 484.1 kB / 0.5434 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.593e-05/0.1591, allocations: 46.5 kB / 0.5434 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.1592, allocations: 40.91 kB / 0.5435 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1592, allocations: 0 / 0.5435 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.1592, allocations: 30.56 kB / 0.5435 GB, free: 176 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1593, allocations: 0 / 0.5435 GB, free: 176 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002889/0.1596, allocations: 77.62 kB / 0.5436 GB, free: 92 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.1596, allocations: 51.41 kB / 0.5436 GB, free: 28 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1597, allocations: 109.8 kB / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1598, allocations: 29.7 kB / 0.5437 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.1599, allocations: 144.1 kB / 0.5439 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.1599, allocations: 15.8 kB / 0.5439 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.16, allocations: 21.7 kB / 0.5439 GB, free: 15.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1601, allocations: 318.8 kB / 0.5442 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.1602, allocations: 7.984 kB / 0.5442 GB, free: 15.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.1602, allocations: 12 kB / 0.5442 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.19e-05/0.1603, allocations: 32.84 kB / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1603, allocations: 0 / 0.5443 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001375/0.1605, allocations: 69.61 kB / 0.5443 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1605, allocations: 4 kB / 0.5443 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1605, allocations: 0 / 0.5443 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.1605, allocations: 0 / 0.5443 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.1606, allocations: 15.92 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.1606, allocations: 0 / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.1607, allocations: 11.94 kB / 0.5444 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1607, allocations: 0 / 0.5444 GB, free: 15.2 MB / 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.0001217/0.1608, allocations: 137.8 kB / 0.5445 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.1608, allocations: 16.25 kB / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.1609, allocations: 3.969 kB / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1609, allocations: 4 kB / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1609, allocations: 0 / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1609, allocations: 0 / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.1613, allocations: 366.4 kB / 0.5449 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1613, allocations: 0 / 0.5449 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.1614, allocations: 19.98 kB / 0.5449 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1614, allocations: 4 kB / 0.5449 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.1614, allocations: 0 / 0.5449 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1614, allocations: 0 / 0.5449 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1614, allocations: 0 / 0.5449 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.1616, allocations: 163.4 kB / 0.545 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.1617, allocations: 81.05 kB / 0.5451 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.1617, allocations: 4 kB / 0.5451 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.997e-05/0.1618, allocations: 8 kB / 0.5451 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.1618, allocations: 3.984 kB / 0.5451 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.1618, allocations: 4 kB / 0.5451 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.529e-05/0.1619, allocations: 83.28 kB / 0.5452 GB, free: 14.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1619, allocations: 0 / 0.5452 GB, free: 14.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002244/0.1621, allocations: 31.78 kB / 0.5453 GB, free: 14.19 MB / 414.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.0001082/0.1622, allocations: 91.23 kB / 0.5453 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.1624, allocations: 35.92 kB / 0.5454 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1624, allocations: 4 kB / 0.5454 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.333e-05/0.1624, allocations: 19.92 kB / 0.5454 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.1628, allocations: 16.86 kB / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.1633, allocations: 263.3 kB / 0.5457 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.1637, allocations: 0.7314 MB / 0.5464 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.651e-05/0.1637, allocations: 7.781 kB / 0.5464 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.1638, allocations: 11.44 kB / 0.5464 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1638, allocations: 0 / 0.5464 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Templates: time 0.003297/0.1671, allocations: 0.6333 MB / 0.547 GB, free: 12.33 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.39590806234628]