Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001802/0.001802, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001962/0.001962, allocations: 165.3 kB / 24.28 MB, free: 152 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.549/1.549, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3683/0.3683, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.489e-05, allocations: 6.312 kB / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003015/0.00305, allocations: 1.556 MB / 376.8 MB, free: 3.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002712/0.003321, allocations: 67.75 kB / 376.9 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.252e-05/0.003394, allocations: 7.938 kB / 376.9 MB, free: 3.359 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.003543, allocations: 15.84 kB / 376.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.122e-05/0.003575, allocations: 7.875 kB / 376.9 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.003751, allocations: 27.97 kB / 376.9 MB, free: 3.309 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.00388, allocations: 71.8 kB / 377 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.004117, allocations: 79.62 kB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.912e-05/0.004206, allocations: 47.95 kB / 377.1 MB, free: 3.105 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.004285, allocations: 35.88 kB / 377.2 MB, free: 3.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.004317, allocations: 12 kB / 377.2 MB, free: 3.059 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.295e-05/0.00434, allocations: 8 kB / 377.2 MB, free: 3.051 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.004445, allocations: 67.81 kB / 377.2 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.386e-05/0.004518, allocations: 43.84 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.004757, allocations: 159.4 kB / 377.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.00476, allocations: 0 / 377.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004761, allocations: 0 / 377.4 MB, free: 2.785 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.004766, allocations: 0 / 377.4 MB, free: 2.785 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.0006535/0.005419, allocations: 468.1 kB / 377.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.005464, allocations: 8.031 kB / 377.9 MB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.908e-05/0.005553, allocations: 36.78 kB / 377.9 MB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002946/0.005848, allocations: 156.4 kB / 378.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.00587, allocations: 16.69 kB / 378.1 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.005903, allocations: 24.38 kB / 378.1 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.006225, allocations: 125.2 kB / 378.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.006238, allocations: 192 / 378.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.006258, allocations: 8.375 kB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.006269, allocations: 8.125 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.006427, allocations: 63.33 kB / 378.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007249/0.007152, allocations: 480.2 kB / 378.8 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.007278, allocations: 47.05 kB / 378.8 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.103e-05/0.007349, allocations: 27.8 kB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.007367, allocations: 0 / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.00741, allocations: 41.33 kB / 378.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 7.21e-07/0.007411, allocations: 0 / 378.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002628/0.007674, allocations: 73.58 kB / 379 MB, free: 1.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.00772, allocations: 55.41 kB / 379 MB, free: 1.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.007869, allocations: 173.9 kB / 379.2 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.00789, allocations: 29.7 kB / 379.2 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.008022, allocations: 186.9 kB / 379.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.008045, allocations: 11.89 kB / 379.4 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.008089, allocations: 23.38 kB / 379.5 MB, free: 0.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004135/0.008502, allocations: 0.4923 MB / 380 MB, free: 80 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.826e-05/0.00854, allocations: 8 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.797e-05/0.008568, allocations: 8 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.698e-05/0.008645, allocations: 35.61 kB / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.008647, allocations: 0 / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001403/0.008787, allocations: 65.69 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.008806, allocations: 8 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.00881, allocations: 0 / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.008826, allocations: 3.938 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-05/0.008902, allocations: 12.38 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.008907, allocations: 0 / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.651e-05/0.008934, allocations: 11.88 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.008946, allocations: 8 kB / 380.1 MB, free: 15.91 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.0001248/0.009071, allocations: 156.5 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.009101, allocations: 11.95 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.009128, allocations: 12.11 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.009133, allocations: 11.92 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.009137, allocations: 0 / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.009139, allocations: 0 / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.009542, allocations: 353.5 kB / 380.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.009543, allocations: 0 / 380.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.009587, allocations: 15.92 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.009591, allocations: 3.938 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.009597, allocations: 4 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.009599, allocations: 0 / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009599, allocations: 4 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.009805, allocations: 203.9 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.009816, allocations: 3.953 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.009838, allocations: 15.92 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.78e-05/0.009886, allocations: 0 / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.009904, allocations: 0 / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.00991, allocations: 4 kB / 380.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.141e-05/0.01, allocations: 131.2 kB / 381 MB, free: 14.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01, allocations: 0 / 381 MB, free: 14.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.01023, allocations: 35.72 kB / 381.1 MB, free: 14.89 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.0001166/0.01034, allocations: 95.25 kB / 381.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.01049, allocations: 35.67 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01049, allocations: 0 / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.01054, allocations: 27.86 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.0108, allocations: 20.66 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.01135, allocations: 275.2 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.01148, allocations: 114.2 kB / 381.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.268e-05/0.01151, allocations: 7.984 kB / 381.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.01154, allocations: 12.5 kB / 381.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01154, allocations: 0 / 381.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of Templates: time 0.00362/0.01516, allocations: 0.6679 MB / 382.3 MB, free: 13.6 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.776023065089248]