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.002087/0.002087, 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.002314/0.002314, 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.774/1.774, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.5249/0.5249, allocations: 34.26 MB / 295.3 MB, free: 0.6953 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 2.605e-06/2.605e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.19e-05/4.45e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.005044/0.005089, allocations: 1.556 MB / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004355/0.005524, allocations: 63.77 kB / 378.9 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.005636, allocations: 4 kB / 378.9 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.005861, allocations: 19.78 kB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.005907, allocations: 3.938 kB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.00617, allocations: 27.97 kB / 378.9 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.00638, allocations: 75.8 kB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003508/0.006731, allocations: 75.62 kB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.006867, allocations: 55.83 kB / 379.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.00709, allocations: 39.88 kB / 379.2 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.007131, allocations: 8 kB / 379.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.919e-05/0.007161, allocations: 8 kB / 379.2 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.007311, allocations: 67.81 kB / 379.3 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.007413, allocations: 43.89 kB / 379.3 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.007773, allocations: 155.4 kB / 379.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.007777, allocations: 0 / 379.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.007779, allocations: 0 / 379.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.007789, allocations: 4 kB / 379.5 MB, free: 0.7656 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.000928/0.008717, allocations: 472 kB / 379.9 MB, free: 276 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.008779, allocations: 12.02 kB / 379.9 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.008908, allocations: 32.8 kB / 380 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.009292, allocations: 148.5 kB / 380.1 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.009324, allocations: 12.75 kB / 380.1 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.009369, allocations: 20.38 kB / 380.2 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.009841, allocations: 125.2 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.009855, allocations: 192 / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.009882, allocations: 4.375 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.009902, allocations: 16.12 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.01015, allocations: 63.27 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.01123, allocations: 476.2 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.0114, allocations: 50.98 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.467e-05/0.01149, allocations: 27.8 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.01152, allocations: 7.922 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.101e-05/0.01158, allocations: 41.39 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.01158, allocations: 0 / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003814/0.01196, allocations: 73.58 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/0.01204, allocations: 59.34 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.01224, allocations: 166.2 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.01227, allocations: 33.7 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.01245, allocations: 186.9 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.01249, allocations: 15.89 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/0.01257, allocations: 23.38 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003906/0.01296, allocations: 0.4884 MB / 382 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.658e-05/0.01302, allocations: 12.25 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.726e-05/0.01307, allocations: 15.98 kB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.01318, allocations: 27.69 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01318, allocations: 0 / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001933/0.01337, allocations: 65.58 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.01339, allocations: 8 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.0134, allocations: 0 / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/0.01343, allocations: 3.938 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01355, allocations: 11.98 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.01356, allocations: 4.062 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.01361, allocations: 11.94 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.01362, allocations: 0 / 382.1 MB, free: 13.89 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.0002036/0.01382, allocations: 156.6 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.01387, allocations: 7.953 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.01392, allocations: 16.11 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.01393, allocations: 3.938 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.01393, allocations: 0 / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01394, allocations: 0 / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006459/0.01458, allocations: 357.4 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01459, allocations: 0 / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.01465, allocations: 15.98 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.01466, allocations: 7.938 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.01467, allocations: 256 / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.01467, allocations: 0 / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.01468, allocations: 4 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.01501, allocations: 211.8 kB / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.01503, allocations: 3.953 kB / 382.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.01506, allocations: 11.92 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.121e-05/0.01515, allocations: 0 / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.01518, allocations: 4 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.01519, allocations: 8 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.01531, allocations: 131.2 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01531, allocations: 4 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004381/0.01575, allocations: 27.78 kB / 383.1 MB, free: 12.87 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.0002046/0.01596, allocations: 91.25 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.01618, allocations: 35.61 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.01618, allocations: 0 / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.071e-05/0.01626, allocations: 27.67 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.01673, allocations: 19.52 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009368/0.01767, allocations: 275.2 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.01788, allocations: 110.2 kB / 383.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.913e-05/0.01794, allocations: 7.984 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.01799, allocations: 12.5 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01799, allocations: 0 / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of Templates: time 0.005254/0.02324, allocations: 0.6623 MB / 384.3 MB, free: 11.59 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","/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: 5.682126878993586]