Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001462/0.001462, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 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.001172/0.001172, allocations: 162.2 kB / 24.84 MB, free: 8.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9716/0.9716, allocations: 158.6 MB / 186.7 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1326/0.1326, allocations: 32.37 MB / 271.5 MB, free: 14.64 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_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.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 348.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.835e-05, allocations: 4.281 kB / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.001882/0.0019, allocations: 1.556 MB / 350.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001547/0.002055, allocations: 59.7 kB / 350.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.002121, allocations: 0 / 350.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.002268, allocations: 23.84 kB / 350.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.152e-05/0.00229, allocations: 3.938 kB / 350.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.002407, allocations: 27.97 kB / 350.6 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.879e-05/0.002496, allocations: 63.83 kB / 350.6 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.002692, allocations: 83.61 kB / 350.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.002746, allocations: 55.88 kB / 350.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.002794, allocations: 23.91 kB / 350.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.002819, allocations: 15.98 kB / 350.8 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.00283, allocations: 8 kB / 350.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.002891, allocations: 71.8 kB / 350.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.00293, allocations: 43.91 kB / 350.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.003067, allocations: 115.5 kB / 351 MB, free: 7.039 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003069, allocations: 0 / 351 MB, free: 7.039 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00307, allocations: 0 / 351 MB, free: 7.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.003074, allocations: 0 / 351 MB, free: 7.039 MB / 282.7 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.0003506/0.003425, allocations: 460.4 kB / 351.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.003463, allocations: 8.031 kB / 351.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.003504, allocations: 40.8 kB / 351.5 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.003621, allocations: 152.3 kB / 351.7 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.003634, allocations: 16.75 kB / 351.7 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.003651, allocations: 16.38 kB / 351.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.003791, allocations: 133.6 kB / 351.8 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.003801, allocations: 192 / 351.8 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.003812, allocations: 8.375 kB / 351.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.00382, allocations: 8.125 kB / 351.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.685e-05/0.003857, allocations: 35.34 kB / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003397/0.004197, allocations: 424.8 kB / 352.3 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.349e-05/0.00425, allocations: 38.98 kB / 352.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.004276, allocations: 27.66 kB / 352.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-06/0.004282, allocations: 4.125 kB / 352.4 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.004301, allocations: 45.31 kB / 352.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 6.52e-07/0.004301, allocations: 0 / 352.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001136/0.004415, allocations: 53.66 kB / 352.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.004438, allocations: 59.34 kB / 352.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.914e-05/0.004487, allocations: 165.9 kB / 352.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-06/0.004492, allocations: 25.7 kB / 352.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.004535, allocations: 186.9 kB / 352.9 MB, free: 5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.004555, allocations: 11.91 kB / 352.9 MB, free: 4.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.004578, allocations: 31.36 kB / 352.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.004637, allocations: 492.1 kB / 353.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-06/0.004646, allocations: 7.984 kB / 353.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-06/0.004654, allocations: 7.938 kB / 353.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.152e-05/0.004676, allocations: 19.69 kB / 353.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.004677, allocations: 0 / 353.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.29e-05/0.00472, allocations: 53.64 kB / 353.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.004732, allocations: 4 kB / 353.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.004737, allocations: 320 / 353.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.004753, allocations: 0 / 353.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/0.004815, allocations: 11.94 kB / 353.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.217e-06/0.004818, allocations: 4 kB / 353.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.31e-05/0.004831, allocations: 4 kB / 353.5 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.004837, allocations: 3.984 kB / 353.5 MB, free: 4.332 MB / 282.7 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 6.292e-05/0.0049, allocations: 172.4 kB / 353.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.004914, allocations: 7.953 kB / 353.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.004934, allocations: 12.12 kB / 353.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.004935, allocations: 0 / 353.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.004938, allocations: 3.938 kB / 353.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.004941, allocations: 0 / 353.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.005096, allocations: 298.5 kB / 354 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005097, allocations: 4 kB / 354 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.005116, allocations: 8 kB / 354 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.005118, allocations: 7.938 kB / 354 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.005123, allocations: 4 kB / 354.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.005125, allocations: 7.922 kB / 354.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.005126, allocations: 0 / 354.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.729e-05/0.005183, allocations: 195.9 kB / 354.2 MB, free: 3.566 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.005192, allocations: 11.94 kB / 354.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-06/0.005199, allocations: 0 / 354.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.422e-05/0.005224, allocations: 3.938 kB / 354.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.005251, allocations: 8 kB / 354.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-06/0.005252, allocations: 0 / 354.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.358e-05/0.005276, allocations: 131.1 kB / 354.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005276, allocations: 0 / 354.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001441/0.00542, allocations: 31.84 kB / 354.4 MB, free: 3.383 MB / 282.7 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 6.235e-05/0.005483, allocations: 91.19 kB / 354.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.005554, allocations: 23.67 kB / 354.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.005556, allocations: 4 kB / 354.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.487e-05/0.005571, allocations: 19.62 kB / 354.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.005767, allocations: 15.98 kB / 354.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.006184, allocations: 283.2 kB / 354.9 MB, free: 2.902 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.006218, allocations: 79.31 kB / 354.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.143e-05/0.00624, allocations: 4 kB / 354.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.006288, allocations: 86.19 kB / 355 MB, free: 2.715 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006288, allocations: 0 / 355 MB, free: 2.715 MB / 282.7 MB Notification: Performance of Templates: time 0.002591/0.008879, allocations: 0.7933 MB / 355.8 MB, free: 1.938 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0143215409480035]