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.001303/0.001303, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.00124/0.00124, allocations: 159.4 kB / 24.9 MB, free: 8.719 MB / 18.57 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.019/1.019, allocations: 177 MB / 205.2 MB, free: 5.07 MB / 186.7 MB " [Timeout remaining time 179] 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.2948/0.2948, allocations: 34.86 MB / 296.6 MB, free: 492 kB / 266.7 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.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",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.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.212e-05, allocations: 2.312 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002204/0.002226, allocations: 1.633 MB / 327.6 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002222/0.002448, allocations: 63.69 kB / 327.6 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.002502, allocations: 7.938 kB / 327.6 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.002632, allocations: 23.78 kB / 327.7 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.937e-05/0.002651, allocations: 0 / 327.7 MB, free: 5.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.002806, allocations: 27.91 kB / 327.7 MB, free: 5.402 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.515e-05/0.002891, allocations: 67.83 kB / 327.8 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.003062, allocations: 88.98 kB / 327.8 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.532e-05/0.003118, allocations: 51.89 kB / 327.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.00318, allocations: 35.89 kB / 327.9 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.003202, allocations: 12 kB / 327.9 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.003214, allocations: 8 kB / 328 MB, free: 5.141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.003274, allocations: 71.86 kB / 328 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.003312, allocations: 43.84 kB / 328.1 MB, free: 5.027 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.003439, allocations: 119.5 kB / 328.2 MB, free: 4.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003441, allocations: 0 / 328.2 MB, free: 4.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003442, allocations: 0 / 328.2 MB, free: 4.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.003446, allocations: 0 / 328.2 MB, free: 4.91 MB / 298.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.0003251/0.003771, allocations: 334.1 kB / 328.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.003804, allocations: 12.03 kB / 328.5 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.003845, allocations: 28.91 kB / 328.5 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.003998, allocations: 149.5 kB / 328.7 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.004012, allocations: 12.75 kB / 328.7 MB, free: 4.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.004029, allocations: 20.38 kB / 328.7 MB, free: 4.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.004196, allocations: 132.4 kB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.004207, allocations: 4.188 kB / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.00422, allocations: 8.375 kB / 328.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.004228, allocations: 8.125 kB / 328.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.42e-05/0.004273, allocations: 39.72 kB / 328.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.004618, allocations: 337.2 kB / 329.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.004672, allocations: 26.56 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.004693, allocations: 20.98 kB / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.004704, allocations: 0 / 329.3 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.004726, allocations: 30.56 kB / 329.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.82e-07/0.004727, allocations: 0 / 329.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001244/0.004852, allocations: 49.62 kB / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.004886, allocations: 59.34 kB / 329.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.004959, allocations: 114.7 kB / 329.5 MB, free: 3.434 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.004968, allocations: 29.7 kB / 329.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.005017, allocations: 136.2 kB / 329.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.005039, allocations: 27.77 kB / 329.7 MB, free: 3.234 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.005062, allocations: 13.72 kB / 329.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.005142, allocations: 314.8 kB / 330 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.136e-05/0.005153, allocations: 7.984 kB / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-06/0.005161, allocations: 4 kB / 330.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/0.005187, allocations: 20.84 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005189, allocations: 0 / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.675e-05/0.005236, allocations: 46 kB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.005246, allocations: 8 kB / 330.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.00525, allocations: 4 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.005263, allocations: 4.047 kB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.178e-05/0.005315, allocations: 12 kB / 330.2 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.005318, allocations: 3.938 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.367e-05/0.005332, allocations: 7.953 kB / 330.2 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.005337, allocations: 0 / 330.2 MB, free: 2.773 MB / 298.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 5.674e-05/0.005393, allocations: 116.7 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.005408, allocations: 4 kB / 330.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.901e-05/0.005427, allocations: 4.125 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.005428, allocations: 4 kB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.005431, allocations: 7.938 kB / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.005433, allocations: 0 / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.005593, allocations: 218.7 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.005594, allocations: 0 / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.005615, allocations: 12 kB / 330.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.005616, allocations: 0 / 330.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.00562, allocations: 4 kB / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.005621, allocations: 0 / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.005623, allocations: 7.875 kB / 330.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.203e-05/0.005685, allocations: 139.5 kB / 330.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-06/0.005691, allocations: 4.5 kB / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-06/0.005698, allocations: 0 / 330.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.599e-05/0.005724, allocations: 8 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.005737, allocations: 7.922 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.005739, allocations: 0 / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.431e-05/0.005753, allocations: 16.84 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005753, allocations: 0 / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001201/0.005873, allocations: 31.72 kB / 330.7 MB, free: 2.145 MB / 298.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.053e-05/0.005934, allocations: 76.42 kB / 330.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.422e-05/0.005988, allocations: 28.91 kB / 330.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.00599, allocations: 4 kB / 330.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.038e-05/0.006001, allocations: 12.86 kB / 330.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.006129, allocations: 12.53 kB / 330.9 MB, free: 2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.006446, allocations: 259 kB / 331.1 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.083e-05/0.006497, allocations: 87.25 kB / 331.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.555e-05/0.006523, allocations: 4 kB / 331.2 MB, free: 1.605 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.006574, allocations: 63.34 kB / 331.3 MB, free: 1.543 MB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.006575, allocations: 4 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of Templates: time 0.002264/0.008839, allocations: 0.7233 MB / 332 MB, free: 0.8359 MB / 298.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8614332168363035]