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.001193/0.001193, allocations: 80.34 kB / 22.21 MB, free: 2.281 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.001858/0.001858, allocations: 166.2 kB / 25.61 MB, free: 8.578 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.094/1.094, allocations: 177 MB / 205.9 MB, free: 4.441 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.1515/0.1515, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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 2.325e-06/2.325e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.447e-05/3.68e-05, allocations: 3.297 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003361/0.003398, allocations: 1.578 MB / 381.6 MB, free: 21.19 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003415/0.00374, allocations: 63.7 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.463e-05/0.003824, allocations: 4 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.003993, allocations: 15.84 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.086e-05/0.004024, allocations: 7.922 kB / 381.7 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.004227, allocations: 31.97 kB / 381.7 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.004346, allocations: 63.83 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.004578, allocations: 91.53 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.732e-05/0.004655, allocations: 51.94 kB / 381.9 MB, free: 20.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.004729, allocations: 31.89 kB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.004758, allocations: 8 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.004776, allocations: 8 kB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.512e-05/0.004862, allocations: 79.73 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.004916, allocations: 39.91 kB / 382.1 MB, free: 20.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.005093, allocations: 115.5 kB / 382.2 MB, free: 20.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.005098, allocations: 7.984 kB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.005099, allocations: 3.938 kB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.005105, allocations: 0 / 382.2 MB, free: 20.57 MB / 314.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.000475/0.00558, allocations: 456.5 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.005625, allocations: 8.031 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.005693, allocations: 40.8 kB / 382.7 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.005864, allocations: 148.4 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.005883, allocations: 16.75 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.005905, allocations: 16.38 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.006133, allocations: 125.9 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.006145, allocations: 192 / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.006163, allocations: 12.38 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.006179, allocations: 12.12 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.546e-05/0.006255, allocations: 46.97 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.00674, allocations: 420.8 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.095e-05/0.006811, allocations: 38.98 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.006846, allocations: 31.78 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.006859, allocations: 0 / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.00688, allocations: 41.38 kB / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.006882, allocations: 0 / 383.6 MB, free: 19.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001653/0.007047, allocations: 53.69 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.007076, allocations: 55.34 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.504e-05/0.007151, allocations: 169.9 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.007159, allocations: 29.64 kB / 383.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.007219, allocations: 190.9 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.007245, allocations: 15.89 kB / 384.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.007283, allocations: 23.36 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.79e-05/0.007351, allocations: 496.1 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.007365, allocations: 4 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.316e-05/0.007378, allocations: 7.984 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.865e-05/0.007426, allocations: 23.67 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.007429, allocations: 0 / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.532e-05/0.007524, allocations: 49.66 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.007545, allocations: 10.03 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.007553, allocations: 3.984 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.007566, allocations: 0 / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.007662, allocations: 15.88 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.007666, allocations: 0 / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.00769, allocations: 8.375 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.007699, allocations: 4 kB / 384.7 MB, free: 17.85 MB / 314.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 7.625e-05/0.007775, allocations: 156.6 kB / 384.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.007806, allocations: 7.953 kB / 384.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.007837, allocations: 12.11 kB / 384.9 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.007841, allocations: 4 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.007845, allocations: 3.938 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.007849, allocations: 0 / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.008135, allocations: 309.9 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.008137, allocations: 0 / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.622e-05/0.008193, allocations: 8 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.008196, allocations: 4 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.008201, allocations: 0 / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.008204, allocations: 3.938 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.008207, allocations: 7.984 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.008313, allocations: 195.9 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.008324, allocations: 7.938 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.008334, allocations: 4 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6e-05/0.008394, allocations: 3.938 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.008412, allocations: 0 / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.008418, allocations: 4 kB / 385.4 MB, free: 17.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.779e-05/0.008445, allocations: 127.2 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008446, allocations: 4 kB / 385.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002445/0.00869, allocations: 27.84 kB / 385.6 MB, free: 16.91 MB / 314.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 0.0001054/0.008795, allocations: 91.25 kB / 385.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.39e-05/0.008889, allocations: 23.67 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.008892, allocations: 0 / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.637e-05/0.008918, allocations: 23.62 kB / 385.7 MB, free: 16.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.009219, allocations: 16.36 kB / 385.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.009711, allocations: 269.1 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.235e-05/0.009764, allocations: 87.17 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.681e-05/0.00981, allocations: 7.859 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/0.009891, allocations: 82.19 kB / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of SimCode: time 9.91e-07/0.009892, allocations: 0 / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of Templates: time 0.003542/0.01343, allocations: 0.7332 MB / 386.9 MB, free: 15.55 MB / 314.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 -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: 3.3009893288835883]