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.001986/0.001986, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001527/0.001527, allocations: 164.4 kB / 23.95 MB, free: 4.156 MB / 14.72 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.493/1.493, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 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.2287/0.2287, allocations: 34.27 MB / 294.9 MB, free: 14.56 MB / 286.1 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.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.134e-06/2.134e-06, allocations: 0 / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.496e-05, allocations: 6.219 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003533/0.003568, allocations: 1.541 MB / 444.2 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002752/0.003843, allocations: 59.75 kB / 444.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.003918, allocations: 4 kB / 444.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.004126, allocations: 19.86 kB / 444.3 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.063e-05/0.004157, allocations: 7.875 kB / 444.3 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.004394, allocations: 27.91 kB / 444.3 MB, free: 3.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.004569, allocations: 71.81 kB / 444.4 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003461/0.004915, allocations: 84.2 kB / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.005027, allocations: 51.94 kB / 444.5 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.005138, allocations: 35.89 kB / 444.6 MB, free: 3.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.005179, allocations: 8 kB / 444.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.286e-05/0.005212, allocations: 8 kB / 444.6 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.005329, allocations: 71.8 kB / 444.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.005409, allocations: 43.84 kB / 444.7 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.005694, allocations: 151.4 kB / 444.8 MB, free: 3.207 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005698, allocations: 0 / 444.8 MB, free: 3.207 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.005699, allocations: 4 kB / 444.8 MB, free: 3.203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.944e-06/0.005707, allocations: 0 / 444.8 MB, free: 3.203 MB / 366.1 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.0007643/0.006471, allocations: 358.2 kB / 445.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.006526, allocations: 8.031 kB / 445.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.79e-05/0.006604, allocations: 20.84 kB / 445.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.006917, allocations: 161.5 kB / 445.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.006944, allocations: 12.75 kB / 445.4 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.00698, allocations: 24.38 kB / 445.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/0.007407, allocations: 197.1 kB / 445.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.007423, allocations: 4.188 kB / 445.6 MB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.007447, allocations: 12.36 kB / 445.6 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.007457, allocations: 8.125 kB / 445.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.007714, allocations: 131.2 kB / 445.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006319/0.008345, allocations: 389.1 kB / 446.1 MB, free: 1.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.008448, allocations: 38.5 kB / 446.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.905e-05/0.008517, allocations: 28.97 kB / 446.2 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.008529, allocations: 0 / 446.2 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.008556, allocations: 30.56 kB / 446.2 MB, free: 1.703 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.008557, allocations: 0 / 446.2 MB, free: 1.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002709/0.008828, allocations: 81.56 kB / 446.3 MB, free: 1.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.008881, allocations: 55.41 kB / 446.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.008982, allocations: 113.8 kB / 446.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.008999, allocations: 25.7 kB / 446.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.009091, allocations: 144.2 kB / 446.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.009115, allocations: 11.91 kB / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.009155, allocations: 17.72 kB / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.009297, allocations: 318.8 kB / 447 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.581e-05/0.009343, allocations: 8 kB / 447 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.67e-05/0.00938, allocations: 11.98 kB / 447 MB, free: 0.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.008e-05/0.00947, allocations: 32.84 kB / 447 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.009472, allocations: 0 / 447 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00016/0.009632, allocations: 69.64 kB / 447.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.009647, allocations: 4 kB / 447.1 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.009652, allocations: 0 / 447.1 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.00967, allocations: 7.875 kB / 447.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.00976, allocations: 12.42 kB / 447.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.009765, allocations: 0 / 447.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.024e-05/0.009795, allocations: 7.938 kB / 447.1 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.009802, allocations: 0 / 447.1 MB, free: 0.7344 MB / 366.1 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.000123/0.009925, allocations: 137.8 kB / 447.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.009954, allocations: 11.95 kB / 447.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.009984, allocations: 12.12 kB / 447.3 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.009989, allocations: 3.938 kB / 447.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.009993, allocations: 0 / 447.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.009997, allocations: 0 / 447.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.01035, allocations: 294.1 kB / 447.6 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01035, allocations: 0 / 447.6 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.0104, allocations: 11.98 kB / 447.6 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.01041, allocations: 3.938 kB / 447.6 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.01042, allocations: 4 kB / 447.6 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01042, allocations: 4 kB / 447.6 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01042, allocations: 0 / 447.6 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.01061, allocations: 163.4 kB / 447.8 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-06/0.01062, allocations: 4 kB / 447.8 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.01063, allocations: 7.875 kB / 447.8 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.88e-05/0.01069, allocations: 4 kB / 447.8 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.466e-05/0.0107, allocations: 3.984 kB / 447.8 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.01071, allocations: 4 kB / 447.8 MB, free: 12 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.225/0.2357, allocations: 83.28 kB / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2357, allocations: 0 / 447.9 MB, free: 19.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003091/0.2361, allocations: 27.34 kB / 447.9 MB, free: 19.05 MB / 366.1 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.0001069/0.2362, allocations: 92.89 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.2364, allocations: 28.73 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2364, allocations: 0 / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.817e-05/0.2364, allocations: 22.05 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.2367, allocations: 17.19 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.2372, allocations: 276.8 kB / 448.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.2374, allocations: 115.7 kB / 448.4 MB, free: 18.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.246e-05/0.2374, allocations: 4.469 kB / 448.4 MB, free: 18.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.2374, allocations: 15.22 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2374, allocations: 1.375 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of Templates: time 0.003406/0.2408, allocations: 0.6516 MB / 449.1 MB, free: 18.69 MB / 366.1 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: 5.0150641947984695]