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.001603/0.001603, allocations: 117 kB / 19.13 MB, free: 3.922 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.001603/0.001603, allocations: 214.5 kB / 22.08 MB, free: 0.9727 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.514/1.514, allocations: 227.4 MB / 252.3 MB, free: 15.91 MB / 206.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.2345/0.2345, allocations: 46.16 MB / 351.8 MB, free: 14.3 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.002297/0.002298, allocations: 85.73 kB / 490.9 MB, free: 28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1408, allocations: 62.45 MB / 0.5403 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003293/0.1441, allocations: 1.565 MB / 0.5419 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002703/0.1445, allocations: 71.75 kB / 0.5419 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.1445, allocations: 4 kB / 0.5419 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.1447, allocations: 11.86 kB / 0.5419 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.848e-05/0.1447, allocations: 7.938 kB / 0.542 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.1449, allocations: 23.97 kB / 0.542 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.145, allocations: 67.81 kB / 0.542 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.1453, allocations: 127.4 kB / 0.5422 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.619e-05/0.1454, allocations: 39.84 kB / 0.5422 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.105e-05/0.1455, allocations: 39.84 kB / 0.5422 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.1455, allocations: 12 kB / 0.5422 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.425e-05/0.1456, allocations: 8 kB / 0.5423 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.95e-05/0.1456, allocations: 63.83 kB / 0.5423 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.352e-05/0.1457, allocations: 67.59 kB / 0.5424 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.146, allocations: 155.3 kB / 0.5425 GB, free: 2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.146, allocations: 0 / 0.5425 GB, free: 2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.146, allocations: 0 / 0.5425 GB, free: 2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.146, allocations: 0 / 0.5425 GB, free: 2 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.0006216/0.1466, allocations: 447.2 kB / 0.543 GB, free: 1.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.1467, allocations: 12.03 kB / 0.543 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.204e-05/0.1468, allocations: 16.84 kB / 0.543 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.147, allocations: 220 kB / 0.5432 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.1471, allocations: 20.75 kB / 0.5432 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.1471, allocations: 16.38 kB / 0.5432 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.1475, allocations: 193.6 kB / 0.5434 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.1475, allocations: 7.875 kB / 0.5434 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.1476, allocations: 11.94 kB / 0.5434 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1476, allocations: 4 kB / 0.5434 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.1478, allocations: 131.3 kB / 0.5436 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008123/0.1486, allocations: 484.1 kB / 0.544 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.1488, allocations: 46.5 kB / 0.5441 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.1488, allocations: 40.89 kB / 0.5441 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.1489, allocations: 0 / 0.5441 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1489, allocations: 30.56 kB / 0.5441 GB, free: 200 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.1489, allocations: 0 / 0.5441 GB, free: 200 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002712/0.1492, allocations: 77.62 kB / 0.5442 GB, free: 116 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.1493, allocations: 55.34 kB / 0.5443 GB, free: 48 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1494, allocations: 109.8 kB / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1494, allocations: 29.7 kB / 0.5444 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1495, allocations: 136.1 kB / 0.5445 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.1496, allocations: 23.78 kB / 0.5445 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.1496, allocations: 17.72 kB / 0.5446 GB, free: 15.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1498, allocations: 318.8 kB / 0.5449 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.1498, allocations: 11.98 kB / 0.5449 GB, free: 15.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.552e-05/0.1499, allocations: 12 kB / 0.5449 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.895e-05/0.15, allocations: 36.84 kB / 0.5449 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.15, allocations: 0 / 0.5449 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001299/0.1501, allocations: 65.55 kB / 0.545 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1502, allocations: 6.031 kB / 0.545 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1502, allocations: 4.438 kB / 0.545 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1502, allocations: 0 / 0.545 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.1503, allocations: 8 kB / 0.545 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1503, allocations: 3.938 kB / 0.545 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.1503, allocations: 11.98 kB / 0.545 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1503, allocations: 8 kB / 0.545 GB, free: 15.21 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.0001207/0.1505, allocations: 129.8 kB / 0.5452 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/0.1505, allocations: 11.89 kB / 0.5452 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.1505, allocations: 7.953 kB / 0.5452 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1505, allocations: 3.984 kB / 0.5452 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1506, allocations: 0 / 0.5452 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1506, allocations: 0 / 0.5452 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.151, allocations: 366.5 kB / 0.5455 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.151, allocations: 4 kB / 0.5455 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.1511, allocations: 11.98 kB / 0.5455 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1511, allocations: 0 / 0.5455 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1511, allocations: 0 / 0.5455 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1511, allocations: 0 / 0.5455 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1511, allocations: 3.938 kB / 0.5455 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.1513, allocations: 167.4 kB / 0.5457 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.1514, allocations: 81.11 kB / 0.5458 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.1514, allocations: 4 kB / 0.5458 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.1514, allocations: 4 kB / 0.5458 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.1515, allocations: 7.984 kB / 0.5458 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1515, allocations: 0 / 0.5458 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.837e-05/0.1515, allocations: 87.28 kB / 0.5459 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1515, allocations: 0 / 0.5459 GB, free: 14.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1518, allocations: 27.78 kB / 0.5459 GB, free: 14.21 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.0001327/0.1519, allocations: 91.25 kB / 0.546 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.1521, allocations: 47.84 kB / 0.546 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1521, allocations: 0 / 0.546 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.1521, allocations: 15.98 kB / 0.5461 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.1525, allocations: 16.92 kB / 0.5461 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.1532, allocations: 293 kB / 0.5464 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.1536, allocations: 0.7275 MB / 0.5471 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.1536, allocations: 11.44 kB / 0.5471 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1536, allocations: 0 / 0.5471 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Templates: time 0.003384/0.157, allocations: 1.231 MB / 0.5483 GB, free: 11.73 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.952627553022467]