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.0009507/0.0009507, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009357/0.0009357, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9922/0.9922, allocations: 177.1 MB / 205 MB, free: 5.16 MB / 186.7 MB " [Timeout remaining time 179] 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.3131/0.3131, allocations: 34.25 MB / 295.7 MB, free: 0.7109 MB / 266.7 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.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",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.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 378 MB, free: 2.695 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.495e-05/1.592e-05, allocations: 5.547 kB / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.00178/0.001796, allocations: 1.587 MB / 379.6 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001871/0.001983, allocations: 59.78 kB / 379.7 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.002019, allocations: 4 kB / 379.7 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.002137, allocations: 19.84 kB / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.904e-05/0.002156, allocations: 7.922 kB / 379.7 MB, free: 1 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.002288, allocations: 27.97 kB / 379.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.753e-05/0.002365, allocations: 67.81 kB / 379.8 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.002562, allocations: 83.55 kB / 379.9 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.453e-05/0.002617, allocations: 55.94 kB / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.802e-05/0.002665, allocations: 31.89 kB / 380 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.002684, allocations: 8 kB / 380 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.661e-05/0.002701, allocations: 8 kB / 380 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.002759, allocations: 75.73 kB / 380.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.002798, allocations: 43.91 kB / 380.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.002933, allocations: 111.5 kB / 380.2 MB, free: 500 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.002935, allocations: 0 / 380.2 MB, free: 500 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.002936, allocations: 3.938 kB / 380.2 MB, free: 496 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.00294, allocations: 0 / 380.2 MB, free: 496 kB / 346.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.0004187/0.003358, allocations: 464.5 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.003397, allocations: 12.03 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.003444, allocations: 32.8 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.003583, allocations: 152.4 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.003596, allocations: 16.75 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.003615, allocations: 20.38 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.003804, allocations: 137.9 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.003813, allocations: 192 / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.003826, allocations: 8.375 kB / 381 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.003836, allocations: 8.125 kB / 381 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.013e-05/0.003906, allocations: 59.22 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.004304, allocations: 448.3 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.971e-05/0.004364, allocations: 50.98 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/0.004394, allocations: 19.81 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.00441, allocations: 7.984 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.004434, allocations: 33.39 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.535e-06/0.004437, allocations: 3.984 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001363/0.004573, allocations: 65.58 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.0046, allocations: 51.41 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.596e-05/0.004676, allocations: 169.9 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.004684, allocations: 29.64 kB / 382 MB, free: 14.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.00475, allocations: 182.9 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.004768, allocations: 19.84 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.004793, allocations: 23.38 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.004919, allocations: 0.4884 MB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.004931, allocations: 4.25 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.017e-05/0.004941, allocations: 8 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.004972, allocations: 23.67 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.004973, allocations: 0 / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.303e-05/0.005026, allocations: 53.66 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.005035, allocations: 8 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.005039, allocations: 0 / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.005053, allocations: 3.938 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/0.005112, allocations: 19.92 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.005117, allocations: 320 / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.167e-05/0.005129, allocations: 4 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.005133, allocations: 0 / 382.8 MB, free: 13.69 MB / 362.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.226e-05/0.005195, allocations: 156.6 kB / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.00521, allocations: 7.953 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.005232, allocations: 12.11 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.005235, allocations: 7.938 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.005238, allocations: 0 / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.005241, allocations: 0 / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.005439, allocations: 341.3 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005439, allocations: 0 / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.222e-05/0.005462, allocations: 8 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.005466, allocations: 7.938 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.005471, allocations: 3.984 kB / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.005472, allocations: 256 / 383.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.005474, allocations: 7.984 kB / 383.3 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.648e-05/0.005561, allocations: 207.8 kB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-06/0.005566, allocations: 0 / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.005575, allocations: 7.938 kB / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.508e-05/0.0056, allocations: 4 kB / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.005612, allocations: 4 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.005614, allocations: 0 / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.818e-05/0.005652, allocations: 135.2 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005652, allocations: 0 / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001356/0.005788, allocations: 31.78 kB / 383.7 MB, free: 12.7 MB / 362.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 5.898e-05/0.005847, allocations: 91.25 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.246e-05/0.005909, allocations: 27.67 kB / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.00591, allocations: 0 / 383.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.306e-05/0.005923, allocations: 19.62 kB / 383.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.006082, allocations: 19.98 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.006391, allocations: 271.2 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.684e-05/0.006438, allocations: 79.31 kB / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.799e-05/0.006456, allocations: 3.984 kB / 384.2 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.006476, allocations: 12.5 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.006477, allocations: 0 / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of Templates: time 0.002008/0.008484, allocations: 0.6705 MB / 384.9 MB, free: 11.47 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 240] 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","",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.1389333000406623]