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.00177/0.00177, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002014/0.002014, allocations: 217 kB / 24.5 MB, free: 4.133 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.525/1.525, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.2303/0.2303, allocations: 46.92 MB / 361.5 MB, free: 4.191 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.00245/0.00245, allocations: 79.88 kB / 0.4974 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3685, allocations: 66.07 MB / 0.5619 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002943/0.3715, allocations: 1.581 MB / 0.5635 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002437/0.3717, allocations: 63.77 kB / 0.5635 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.3718, allocations: 7.875 kB / 0.5636 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.3719, allocations: 19.84 kB / 0.5636 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.222e-05/0.3719, allocations: 3.938 kB / 0.5636 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.3721, allocations: 23.97 kB / 0.5636 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3722, allocations: 67.89 kB / 0.5637 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.3725, allocations: 96.84 kB / 0.5638 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.3726, allocations: 39.91 kB / 0.5638 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.3726, allocations: 39.84 kB / 0.5638 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.3727, allocations: 8 kB / 0.5638 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.804e-05/0.3727, allocations: 12 kB / 0.5639 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.631e-05/0.3728, allocations: 67.81 kB / 0.5639 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.386e-05/0.3728, allocations: 67.61 kB / 0.564 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.373, allocations: 149.7 kB / 0.5641 GB, free: 2.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.373, allocations: 4 kB / 0.5641 GB, free: 2.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.373, allocations: 0 / 0.5641 GB, free: 2.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.373, allocations: 0 / 0.5641 GB, free: 2.027 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.000532/0.3736, allocations: 370 kB / 0.5645 GB, free: 1.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.3736, allocations: 12.03 kB / 0.5645 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.3737, allocations: 20.84 kB / 0.5645 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.3739, allocations: 154.3 kB / 0.5647 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3739, allocations: 12.75 kB / 0.5647 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.3739, allocations: 16.38 kB / 0.5647 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.3743, allocations: 197.1 kB / 0.5649 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3743, allocations: 3.938 kB / 0.5649 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.3743, allocations: 8 kB / 0.5649 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.3743, allocations: 4 kB / 0.5649 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.3746, allocations: 123.3 kB / 0.565 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.3752, allocations: 464.3 kB / 0.5654 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.3753, allocations: 42.56 kB / 0.5655 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.3754, allocations: 32.91 kB / 0.5655 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.3754, allocations: 7.938 kB / 0.5655 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.3754, allocations: 34.55 kB / 0.5656 GB, free: 448 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.3754, allocations: 0 / 0.5656 GB, free: 448 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002408/0.3757, allocations: 73.62 kB / 0.5656 GB, free: 368 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.3757, allocations: 59.39 kB / 0.5657 GB, free: 296 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.3758, allocations: 105.9 kB / 0.5658 GB, free: 180 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.3758, allocations: 29.64 kB / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.376, allocations: 144.3 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.376, allocations: 15.86 kB / 0.566 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.376, allocations: 17.72 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3762, allocations: 318.8 kB / 0.5663 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.234e-05/0.3762, allocations: 11.94 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.595e-05/0.3763, allocations: 19.92 kB / 0.5663 GB, free: 15.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.09e-05/0.3763, allocations: 32.84 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3763, allocations: 4 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001158/0.3765, allocations: 57.62 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3765, allocations: 8 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3765, allocations: 3.984 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3765, allocations: 0 / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.3766, allocations: 8 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.3766, allocations: 3.938 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.3766, allocations: 4 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-06/0.3766, allocations: 4 kB / 0.5664 GB, free: 15.46 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.0001201/0.3767, allocations: 137.8 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.3768, allocations: 11.89 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.3768, allocations: 4.5 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3768, allocations: 0 / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3768, allocations: 0 / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3768, allocations: 3.984 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.3772, allocations: 345.5 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3772, allocations: 0 / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.3772, allocations: 15.98 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3772, allocations: 0 / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.3772, allocations: 0 / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3772, allocations: 0 / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3772, allocations: 4 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.3774, allocations: 155.4 kB / 0.5671 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.3774, allocations: 7.984 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3774, allocations: 4 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.176e-05/0.3775, allocations: 8 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.3775, allocations: 0 / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.3775, allocations: 3.938 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.381e-05/0.3776, allocations: 99.19 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3776, allocations: 0 / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.3778, allocations: 23.84 kB / 0.5672 GB, free: 14.58 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 9.928e-05/0.3779, allocations: 91.25 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.378, allocations: 43.91 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.378, allocations: 0 / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.827e-05/0.3781, allocations: 11.94 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.3784, allocations: 16.36 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.3789, allocations: 293.2 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.3793, allocations: 0.7352 MB / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.3794, allocations: 15.44 kB / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3794, allocations: 0 / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of Templates: time 0.00301/0.3824, allocations: 1.222 MB / 0.5696 GB, free: 12.09 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins1/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: 7.82242082990706]