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.001417/0.001417, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001629/0.001629, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.563/1.563, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2319/0.2319, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.00214/0.00214, allocations: 63.91 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3593, allocations: 66.03 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003082/0.3624, allocations: 1.549 MB / 0.5626 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002397/0.3626, allocations: 55.77 kB / 0.5626 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.3627, allocations: 8 kB / 0.5626 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.3628, allocations: 23.78 kB / 0.5627 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.295e-05/0.3628, allocations: 3.938 kB / 0.5627 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.363, allocations: 27.97 kB / 0.5627 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.3631, allocations: 67.83 kB / 0.5628 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.3633, allocations: 87.59 kB / 0.5628 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.681e-05/0.3634, allocations: 43.84 kB / 0.5629 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.3635, allocations: 35.84 kB / 0.5629 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.3635, allocations: 8 kB / 0.5629 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.04e-05/0.3635, allocations: 8 kB / 0.5629 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3636, allocations: 67.81 kB / 0.563 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.3637, allocations: 55.73 kB / 0.5631 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.3639, allocations: 153.7 kB / 0.5632 GB, free: 1.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3639, allocations: 0 / 0.5632 GB, free: 1.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3639, allocations: 0 / 0.5632 GB, free: 1.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.3639, allocations: 4 kB / 0.5632 GB, free: 1.969 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.0005057/0.3644, allocations: 366.1 kB / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3645, allocations: 12.03 kB / 0.5636 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.3645, allocations: 16.84 kB / 0.5636 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.3648, allocations: 158.2 kB / 0.5637 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3648, allocations: 12.75 kB / 0.5637 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.3648, allocations: 20.38 kB / 0.5638 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.3652, allocations: 197.1 kB / 0.564 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3652, allocations: 3.938 kB / 0.564 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.3652, allocations: 8 kB / 0.564 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.3652, allocations: 4 kB / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.3655, allocations: 123.3 kB / 0.5641 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.3661, allocations: 401 kB / 0.5645 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.3662, allocations: 38.56 kB / 0.5645 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.598e-05/0.3663, allocations: 28.95 kB / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.3663, allocations: 0 / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.3663, allocations: 42.44 kB / 0.5646 GB, free: 472 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.3663, allocations: 0 / 0.5646 GB, free: 472 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002563/0.3666, allocations: 77.62 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.66e-05/0.3667, allocations: 55.34 kB / 0.5647 GB, free: 320 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3668, allocations: 113.8 kB / 0.5648 GB, free: 196 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3668, allocations: 29.7 kB / 0.5648 GB, free: 160 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.3669, allocations: 136.1 kB / 0.565 GB, free: 16 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.367, allocations: 15.86 kB / 0.565 GB, free: 0 / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.367, allocations: 21.64 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3672, allocations: 318.8 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.3672, allocations: 11.98 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.3672, allocations: 8 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.3673, allocations: 45.16 kB / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3673, allocations: 0 / 0.5654 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000128/0.3675, allocations: 69.61 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3675, allocations: 4 kB / 0.5654 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.3675, allocations: 4 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3675, allocations: 0 / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/0.3676, allocations: 11.98 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3676, allocations: 0 / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.3676, allocations: 0 / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.3676, allocations: 4 kB / 0.5655 GB, free: 15.49 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.0001222/0.3678, allocations: 137.7 kB / 0.5656 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.3678, allocations: 19.88 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.3678, allocations: 4.062 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.3678, allocations: 0 / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3678, allocations: 0 / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3678, allocations: 0 / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.3682, allocations: 290.2 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3682, allocations: 0 / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.747e-05/0.3682, allocations: 11.94 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3682, allocations: 0 / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3682, allocations: 7.984 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3682, allocations: 0 / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3682, allocations: 4 kB / 0.5659 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.3684, allocations: 163.6 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-06/0.3684, allocations: 0 / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.3685, allocations: 11.98 kB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.3685, allocations: 0 / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.3685, allocations: 3.938 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3685, allocations: 4 kB / 0.5661 GB, free: 14.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.583e-05/0.3686, allocations: 87.27 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3686, allocations: 0 / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.3688, allocations: 31.84 kB / 0.5662 GB, free: 14.66 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.171e-05/0.3689, allocations: 99.19 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001424/0.3691, allocations: 27.97 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3691, allocations: 4 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.3691, allocations: 12 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.3694, allocations: 19.92 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.37, allocations: 271.3 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.3701, allocations: 114.1 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.644e-05/0.3701, allocations: 7.781 kB / 0.5667 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.3702, allocations: 15.42 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3702, allocations: 0 / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Templates: time 0.003304/0.3735, allocations: 0.7317 MB / 0.5675 GB, free: 13.34 MB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins/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: 5.326569981873035]