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.0008603/0.0008603, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004524/0.004524, allocations: 160 kB / 24.7 MB, free: 9.426 MB / 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 0.8638/0.8638, allocations: 177.1 MB / 205 MB, free: 5.73 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.2655/0.2655, allocations: 32.79 MB / 294.2 MB, free: 1.203 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.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 2.024e-06/2.024e-06, allocations: 0 / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.514e-05/2.716e-05, allocations: 6.781 kB / 440.8 MB, free: 3.762 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002235/0.002263, allocations: 1.552 MB / 442.4 MB, free: 2.199 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002176/0.00248, allocations: 55.77 kB / 442.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.002543, allocations: 3.938 kB / 442.4 MB, free: 2.141 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.002676, allocations: 23.84 kB / 442.5 MB, free: 2.117 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.042e-05/0.002696, allocations: 11.86 kB / 442.5 MB, free: 2.105 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.002849, allocations: 27.97 kB / 442.5 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.082e-05/0.00294, allocations: 67.81 kB / 442.6 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.003128, allocations: 76.28 kB / 442.6 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.595e-05/0.003184, allocations: 55.88 kB / 442.7 MB, free: 1.875 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.003536, allocations: 35.94 kB / 442.7 MB, free: 1.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.003565, allocations: 8 kB / 442.7 MB, free: 1.832 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.003578, allocations: 15.94 kB / 442.8 MB, free: 1.816 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-05/0.003651, allocations: 59.88 kB / 442.8 MB, free: 1.758 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.474e-05/0.003696, allocations: 43.84 kB / 442.9 MB, free: 1.715 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.003844, allocations: 151.4 kB / 443 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003846, allocations: 0 / 443 MB, free: 1.566 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003847, allocations: 4 kB / 443 MB, free: 1.562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.003851, allocations: 0 / 443 MB, free: 1.562 MB / 410.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.0003936/0.004245, allocations: 366 kB / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.004282, allocations: 12.02 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.004321, allocations: 20.84 kB / 443.4 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.004485, allocations: 149.6 kB / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.0045, allocations: 12.75 kB / 443.6 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.00452, allocations: 20.38 kB / 443.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.004759, allocations: 197.1 kB / 443.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.00477, allocations: 192 / 443.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.004786, allocations: 8.375 kB / 443.8 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.0048, allocations: 8.125 kB / 443.8 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.004933, allocations: 127.3 kB / 443.9 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.005335, allocations: 400.9 kB / 444.3 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.005403, allocations: 38.56 kB / 444.3 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.005447, allocations: 28.97 kB / 444.4 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.005459, allocations: 0 / 444.4 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.005478, allocations: 34.56 kB / 444.4 MB, free: 64 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.82e-07/0.005479, allocations: 0 / 444.4 MB, free: 64 kB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.2007/0.2062, allocations: 81.2 kB / 444.5 MB, free: 46.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.2063, allocations: 55.03 kB / 444.5 MB, free: 46.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.2063, allocations: 104.8 kB / 444.6 MB, free: 46.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.2063, allocations: 27.73 kB / 444.7 MB, free: 46.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.2064, allocations: 141.5 kB / 444.8 MB, free: 46.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.2065, allocations: 17.41 kB / 444.8 MB, free: 46.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.2065, allocations: 18.17 kB / 444.8 MB, free: 46.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.181e-05/0.2065, allocations: 316.1 kB / 445.1 MB, free: 45.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.2066, allocations: 11.05 kB / 445.2 MB, free: 45.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.2066, allocations: 18.5 kB / 445.2 MB, free: 45.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.572e-05/0.2067, allocations: 36.17 kB / 445.2 MB, free: 45.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2067, allocations: 0 / 445.2 MB, free: 45.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.787e-05/0.2068, allocations: 66.41 kB / 445.3 MB, free: 45.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.2068, allocations: 5.938 kB / 445.3 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2068, allocations: 0 / 445.3 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.2068, allocations: 3.75 kB / 445.3 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.151e-05/0.2069, allocations: 12.88 kB / 445.3 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2069, allocations: 6.328 kB / 445.3 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.2069, allocations: 6.438 kB / 445.3 MB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.2069, allocations: 0.75 kB / 445.3 MB, free: 45.89 MB / 410.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.97e-05/0.207, allocations: 137.1 kB / 445.4 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.207, allocations: 3 kB / 445.4 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.2071, allocations: 13.53 kB / 445.5 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.2071, allocations: 2.906 kB / 445.5 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2071, allocations: 0 / 445.5 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2071, allocations: 0 / 445.5 MB, free: 45.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.2073, allocations: 296.3 kB / 445.8 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2073, allocations: 0 / 445.8 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/0.2073, allocations: 17.14 kB / 445.8 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2073, allocations: 0 / 445.8 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2073, allocations: 2.969 kB / 445.8 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2073, allocations: 2.188 kB / 445.8 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2073, allocations: 0 / 445.8 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.731e-05/0.2074, allocations: 160.3 kB / 445.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.2074, allocations: 11.2 kB / 445.9 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.2074, allocations: 4.562 kB / 445.9 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.772e-05/0.2075, allocations: 6.875 kB / 446 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.2075, allocations: 3 kB / 446 MB, free: 45.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.2075, allocations: 2.875 kB / 446 MB, free: 45.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.103e-05/0.2075, allocations: 89.23 kB / 446 MB, free: 45.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2075, allocations: 0 / 446 MB, free: 45.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000152/0.2077, allocations: 25.47 kB / 446.1 MB, free: 45.32 MB / 410.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 9.497e-05/0.2078, allocations: 94.09 kB / 446.2 MB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.2079, allocations: 32.38 kB / 446.2 MB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2079, allocations: 0 / 446.2 MB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.582e-05/0.2079, allocations: 23.81 kB / 446.2 MB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.2083, allocations: 9.172 kB / 446.2 MB, free: 45.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.2087, allocations: 303 kB / 446.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.639e-05/0.2088, allocations: 120.3 kB / 446.6 MB, free: 44.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.2089, allocations: 11.12 kB / 446.7 MB, free: 44.96 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2089, allocations: 3.281 kB / 446.7 MB, free: 44.96 MB / 410.7 MB Notification: Performance of Templates: time 0.002408/0.2113, allocations: 1.268 MB / 447.9 MB, free: 44.91 MB / 410.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=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.752351572737098]