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.001103/0.001103, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001677/0.001677, allocations: 165.4 kB / 24.56 MB, free: 8 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.055/1.055, allocations: 177.2 MB / 205 MB, free: 5.281 MB / 186.7 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.2818/0.2818, allocations: 32.81 MB / 294.3 MB, free: 1.25 MB / 266.7 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.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",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.[0-9,]+.|demux5.y.[0-9,]+.|mux3.y.[0-9,]+.|mux2.y.[0-9,]+.|demux2.y.[0-9,]+.|demux3.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.612e-05, allocations: 6.25 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.00231/0.002346, allocations: 1.58 MB / 377.6 MB, free: 3.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002717/0.002618, allocations: 63.75 kB / 377.7 MB, free: 3.027 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.00268, allocations: 0 / 377.7 MB, free: 3.027 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.002826, allocations: 23.84 kB / 377.7 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.262e-05/0.002849, allocations: 7.875 kB / 377.7 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.003015, allocations: 23.97 kB / 377.7 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 8.878e-05/0.003103, allocations: 67.81 kB / 377.8 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.003317, allocations: 79.62 kB / 377.9 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.742e-05/0.003385, allocations: 55.88 kB / 377.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.003448, allocations: 35.94 kB / 377.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.003473, allocations: 12 kB / 378 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.003488, allocations: 8 kB / 378 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.003557, allocations: 63.81 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.449e-05/0.003611, allocations: 43.84 kB / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.003767, allocations: 115.5 kB / 378.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.003769, allocations: 0 / 378.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00377, allocations: 0 / 378.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.003777, allocations: 0 / 378.2 MB, free: 2.492 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.0004397/0.004217, allocations: 468.4 kB / 378.6 MB, free: 2 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.004261, allocations: 12.03 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.004318, allocations: 36.8 kB / 378.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.004493, allocations: 164.3 kB / 378.9 MB, free: 1.766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.00451, allocations: 12.75 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.004533, allocations: 16.38 kB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.004762, allocations: 133.9 kB / 379 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.004774, allocations: 4.172 kB / 379 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.004793, allocations: 12.38 kB / 379 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.004804, allocations: 8.125 kB / 379 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.601e-05/0.00488, allocations: 51.33 kB / 379.1 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.005355, allocations: 456.2 kB / 379.5 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.898e-05/0.005424, allocations: 39.05 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/0.005461, allocations: 19.81 kB / 379.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.005477, allocations: 7.938 kB / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.005502, allocations: 33.39 kB / 379.6 MB, free: 0.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.005504, allocations: 0 / 379.6 MB, free: 0.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001753/0.005679, allocations: 65.58 kB / 379.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.005714, allocations: 51.41 kB / 379.7 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.005797, allocations: 169.9 kB / 379.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.005808, allocations: 29.7 kB / 379.9 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.00588, allocations: 186.9 kB / 380.1 MB, free: 388 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.005904, allocations: 19.84 kB / 380.1 MB, free: 368 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.005935, allocations: 23.38 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.006081, allocations: 496.1 kB / 380.6 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.011e-05/0.006101, allocations: 7.938 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.424e-05/0.006115, allocations: 8 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.006153, allocations: 19.69 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006155, allocations: 0 / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.35e-05/0.006229, allocations: 54.02 kB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.006247, allocations: 8 kB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.006253, allocations: 4 kB / 380.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.006272, allocations: 4 kB / 380.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.006382, allocations: 15.98 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.006389, allocations: 7.875 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.006407, allocations: 8 kB / 380.8 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.006414, allocations: 0 / 380.8 MB, free: 15.69 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 8.771e-05/0.006502, allocations: 152.6 kB / 380.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.00652, allocations: 7.953 kB / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.006552, allocations: 8.125 kB / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.006557, allocations: 7.938 kB / 381 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.006563, allocations: 4 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.006568, allocations: 3.984 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.006831, allocations: 341.4 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.006833, allocations: 0 / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.006869, allocations: 8 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.006875, allocations: 7.938 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.006883, allocations: 0 / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.006885, allocations: 0 / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006886, allocations: 0 / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.007002, allocations: 203.9 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.007008, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.007023, allocations: 11.92 kB / 381.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-05/0.007052, allocations: 4 kB / 381.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.00707, allocations: 3.938 kB / 381.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.007073, allocations: 0 / 381.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.207e-05/0.007125, allocations: 135.2 kB / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007125, allocations: 0 / 381.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001509/0.007276, allocations: 27.78 kB / 381.7 MB, free: 14.71 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.0002389/0.007515, allocations: 91.25 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.007636, allocations: 31.8 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.007638, allocations: 4 kB / 381.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.607e-05/0.007654, allocations: 23.62 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.007881, allocations: 16.52 kB / 381.9 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.008343, allocations: 271.2 kB / 382.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.465e-05/0.008407, allocations: 79.31 kB / 382.2 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.002e-05/0.008437, allocations: 4 kB / 382.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.008472, allocations: 12.5 kB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.863e-06/0.008474, allocations: 0 / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of Templates: time 0.00269/0.01116, allocations: 0.6738 MB / 382.9 MB, free: 13.46 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.291943499352783]