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.002055/0.002055, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002243/0.002243, allocations: 161.7 kB / 24.27 MB, free: 176 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 1.476/1.476, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.3667/0.3667, allocations: 34.27 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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 1.432e-06/1.432e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.705e-05, allocations: 6.312 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002868/0.002895, allocations: 1.533 MB / 378.8 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000243/0.003138, allocations: 55.77 kB / 378.9 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.003198, allocations: 11.94 kB / 378.9 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.003344, allocations: 23.78 kB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.414e-05/0.003368, allocations: 3.938 kB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.003537, allocations: 27.95 kB / 378.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.003655, allocations: 71.81 kB / 379 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.003875, allocations: 75.62 kB / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.236e-05/0.003957, allocations: 55.88 kB / 379.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.004027, allocations: 35.89 kB / 379.2 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.004055, allocations: 8 kB / 379.2 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.004074, allocations: 8 kB / 379.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.004169, allocations: 71.8 kB / 379.3 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.004241, allocations: 43.89 kB / 379.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.004472, allocations: 155.4 kB / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004474, allocations: 0 / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004475, allocations: 0 / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.004479, allocations: 0 / 379.5 MB, free: 0.7734 MB / 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.0005452/0.005024, allocations: 362.1 kB / 379.8 MB, free: 400 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.005063, allocations: 12.03 kB / 379.8 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.254e-05/0.005146, allocations: 36.8 kB / 379.9 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.005381, allocations: 145.6 kB / 380 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.005407, allocations: 24.69 kB / 380 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.005434, allocations: 16.38 kB / 380 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.00582, allocations: 189.1 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.00583, allocations: 192 / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.00585, allocations: 8.375 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.005861, allocations: 8.125 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.006103, allocations: 127.3 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006238/0.006727, allocations: 404.9 kB / 380.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.006829, allocations: 38.56 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.744e-05/0.006896, allocations: 28.97 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.006911, allocations: 0 / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.006945, allocations: 38.5 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 6.11e-07/0.006945, allocations: 0 / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002687/0.007214, allocations: 85.5 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.007259, allocations: 51.41 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.00737, allocations: 109.8 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.007393, allocations: 33.7 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.007673, allocations: 132.2 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.007696, allocations: 11.91 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.007731, allocations: 21.7 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.007903, allocations: 314.8 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.217e-05/0.007955, allocations: 15.98 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.021e-05/0.007985, allocations: 4 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.842e-05/0.008073, allocations: 40.78 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008075, allocations: 4.375 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000144/0.008219, allocations: 69.62 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.008237, allocations: 8 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.008242, allocations: 320 / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.008262, allocations: 3.938 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-05/0.008346, allocations: 8 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.00835, allocations: 0 / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.701e-05/0.008387, allocations: 11.92 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.008398, allocations: 3.984 kB / 381.8 MB, free: 14.28 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 0.0001177/0.008515, allocations: 133.8 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.008547, allocations: 15.89 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.892e-05/0.008566, allocations: 8.109 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.008569, allocations: 7.938 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.008572, allocations: 0 / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.008575, allocations: 0 / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.008938, allocations: 286.2 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.00894, allocations: 0 / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.008989, allocations: 11.94 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.008995, allocations: 3.938 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.009001, allocations: 4 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.009002, allocations: 0 / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.009005, allocations: 3.984 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.009208, allocations: 159.5 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.009218, allocations: 7.891 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.009234, allocations: 7.922 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.716e-05/0.009291, allocations: 4 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.009306, allocations: 3.984 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.009311, allocations: 4.188 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.188e-05/0.009373, allocations: 87.27 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009373, allocations: 4 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.009608, allocations: 31.78 kB / 382.5 MB, free: 13.45 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 0.0001165/0.009725, allocations: 91.19 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.009877, allocations: 35.98 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.009878, allocations: 0 / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.639e-05/0.009925, allocations: 15.98 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.01025, allocations: 18.23 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.01079, allocations: 289.5 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.01093, allocations: 118.2 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.318e-05/0.01096, allocations: 4 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.17e-05/0.01099, allocations: 8.5 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01099, allocations: 0 / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of Templates: time 0.003134/0.01413, allocations: 0.6624 MB / 383.8 MB, free: 12.18 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=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: 4.850449837045744]