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.001287/0.001287, allocations: 84.55 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.001376/0.001376, allocations: 163.9 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.36/1.36, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 179] 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.1967/0.1967, allocations: 32.81 MB / 293.5 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 180] 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.282e-06/1.282e-06, allocations: 0 / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.867e-05, allocations: 2.281 kB / 440.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.00244/0.002458, allocations: 1.537 MB / 441.6 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002244/0.002683, allocations: 63.75 kB / 441.7 MB, free: 6.559 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.002737, allocations: 3.938 kB / 441.7 MB, free: 6.555 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.00288, allocations: 15.86 kB / 441.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.614e-05/0.002906, allocations: 7.875 kB / 441.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.003058, allocations: 35.89 kB / 441.7 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.003174, allocations: 63.83 kB / 441.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.003386, allocations: 84.27 kB / 441.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.003464, allocations: 59.88 kB / 441.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.269e-05/0.003537, allocations: 27.95 kB / 442 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.003562, allocations: 8 kB / 442 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.00358, allocations: 8 kB / 442 MB, free: 6.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.78e-05/0.003668, allocations: 71.8 kB / 442.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.111e-05/0.003729, allocations: 43.84 kB / 442.1 MB, free: 6.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.003924, allocations: 147.4 kB / 442.2 MB, free: 5.984 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003925, allocations: 0 / 442.2 MB, free: 5.984 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003926, allocations: 0 / 442.2 MB, free: 5.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.00393, allocations: 0 / 442.2 MB, free: 5.984 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.0004859/0.004416, allocations: 366.2 kB / 442.6 MB, free: 5.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.004447, allocations: 8.031 kB / 442.6 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.004493, allocations: 20.84 kB / 442.6 MB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.004715, allocations: 161.5 kB / 442.8 MB, free: 5.387 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.004736, allocations: 16.75 kB / 442.8 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.004761, allocations: 16.38 kB / 442.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.005113, allocations: 201.1 kB / 443 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.005123, allocations: 192 / 443 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.005142, allocations: 8.375 kB / 443 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.005151, allocations: 8.125 kB / 443 MB, free: 5.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.00539, allocations: 135.3 kB / 443.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.005954, allocations: 385 kB / 443.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.204e-05/0.006046, allocations: 38.5 kB / 443.6 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/0.006112, allocations: 28.97 kB / 443.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.006124, allocations: 4 kB / 443.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.006155, allocations: 34.55 kB / 443.6 MB, free: 4.477 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.006156, allocations: 4 kB / 443.7 MB, free: 4.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002451/0.006401, allocations: 81.5 kB / 443.7 MB, free: 4.387 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.006442, allocations: 51.41 kB / 443.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.006546, allocations: 117.8 kB / 443.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.00657, allocations: 25.7 kB / 443.9 MB, free: 4.168 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.00665, allocations: 136.2 kB / 444.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.006671, allocations: 11.91 kB / 444.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.006705, allocations: 17.72 kB / 444.1 MB, free: 3.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.006854, allocations: 318.8 kB / 444.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.006897, allocations: 12 kB / 444.4 MB, free: 3.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.006936, allocations: 15.98 kB / 444.4 MB, free: 3.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.911e-05/0.007015, allocations: 28.84 kB / 444.4 MB, free: 3.613 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.007016, allocations: 0 / 444.4 MB, free: 3.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001315/0.007148, allocations: 69.58 kB / 444.5 MB, free: 3.539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.007161, allocations: 4 kB / 444.5 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.007166, allocations: 3.984 kB / 444.5 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.007179, allocations: 3.938 kB / 444.5 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.007249, allocations: 11.94 kB / 444.5 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.007253, allocations: 4 kB / 444.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.00728, allocations: 4.438 kB / 444.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.007288, allocations: 4 kB / 444.6 MB, free: 3.504 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.0001106/0.007398, allocations: 133.8 kB / 444.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.007423, allocations: 3.953 kB / 444.7 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.198e-05/0.007445, allocations: 8.125 kB / 444.7 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.00745, allocations: 11.92 kB / 444.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.007455, allocations: 4 kB / 444.7 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.00746, allocations: 3.984 kB / 444.7 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.007795, allocations: 298.1 kB / 445 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007797, allocations: 0 / 445 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.007851, allocations: 11.98 kB / 445 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.007854, allocations: 3.938 kB / 445 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.00786, allocations: 0 / 445 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007861, allocations: 0 / 445 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007862, allocations: 0 / 445 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.008033, allocations: 163.4 kB / 445.2 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.315e-06/0.008041, allocations: 4 kB / 445.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.008056, allocations: 7.938 kB / 445.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.563e-05/0.008112, allocations: 8 kB / 445.2 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.008125, allocations: 7.922 kB / 445.2 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.008128, allocations: 0 / 445.2 MB, free: 2.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.934e-05/0.008187, allocations: 87.28 kB / 445.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008187, allocations: 0 / 445.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.008412, allocations: 23.84 kB / 445.3 MB, free: 2.672 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 8.285e-05/0.008495, allocations: 95.23 kB / 445.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.008634, allocations: 35.92 kB / 445.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.008635, allocations: 0 / 445.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.129e-05/0.008687, allocations: 19.98 kB / 445.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.008922, allocations: 12.38 kB / 445.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.009412, allocations: 274.6 kB / 445.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.009526, allocations: 117.3 kB / 445.9 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.448e-05/0.00955, allocations: 4 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.636e-05/0.009576, allocations: 12.5 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.009577, allocations: 11.88 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of Templates: time 0.002914/0.01249, allocations: 0.6609 MB / 446.5 MB, free: 1.41 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] 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.367033202201128]