Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000846/0.000846, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004628/0.004628, allocations: 159 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8696/0.8696, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2555/0.2555, allocations: 34.24 MB / 295.6 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 443.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.326e-05, allocations: 8.891 kB / 443.4 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.1867/0.1867, allocations: 1.546 MB / 445 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002384/0.187, allocations: 59.02 kB / 445 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.104e-05/0.187, allocations: 6.5 kB / 445 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.1871, allocations: 19.69 kB / 445 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.81e-05/0.1872, allocations: 10.58 kB / 445.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.1873, allocations: 25.81 kB / 445.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.769e-05/0.1874, allocations: 64.73 kB / 445.1 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.1876, allocations: 83.91 kB / 445.2 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.436e-05/0.1877, allocations: 52.22 kB / 445.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.324e-05/0.1877, allocations: 33.31 kB / 445.3 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1878, allocations: 10.59 kB / 445.3 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.355e-05/0.1878, allocations: 5.656 kB / 445.3 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.1878, allocations: 72.61 kB / 445.4 MB, free: 43.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.908e-05/0.1879, allocations: 43.75 kB / 445.4 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.188, allocations: 152.8 kB / 445.6 MB, free: 43.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.188, allocations: 0 / 445.6 MB, free: 43.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.188, allocations: 0 / 445.6 MB, free: 43.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.188, allocations: 0.7188 kB / 445.6 MB, free: 43.55 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.0003309/0.1883, allocations: 365.9 kB / 445.9 MB, free: 43.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1884, allocations: 9.25 kB / 446 MB, free: 43.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.1884, allocations: 19.12 kB / 446 MB, free: 43.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.1886, allocations: 166.3 kB / 446.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1886, allocations: 10.41 kB / 446.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.1886, allocations: 18.5 kB / 446.2 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.1888, allocations: 198.1 kB / 446.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1888, allocations: 192 / 446.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1888, allocations: 10.81 kB / 446.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1888, allocations: 9.625 kB / 446.4 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.1889, allocations: 120.7 kB / 446.5 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.1893, allocations: 383.6 kB / 446.9 MB, free: 42.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.418e-05/0.1894, allocations: 45.86 kB / 446.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.1894, allocations: 29.31 kB / 446.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.1894, allocations: 0 / 446.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.1894, allocations: 33.59 kB / 447 MB, free: 42.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1894, allocations: 0.5938 kB / 447 MB, free: 42.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001712/0.1896, allocations: 80.95 kB / 447.1 MB, free: 42.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.1896, allocations: 60.44 kB / 447.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.624e-05/0.1897, allocations: 108.9 kB / 447.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.962e-06/0.1897, allocations: 28.98 kB / 447.2 MB, free: 42.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.1897, allocations: 136.1 kB / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.1897, allocations: 21.42 kB / 447.4 MB, free: 42.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.1898, allocations: 17.47 kB / 447.4 MB, free: 42.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.39e-05/0.1898, allocations: 318.5 kB / 447.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.1898, allocations: 11.8 kB / 447.7 MB, free: 42.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.1898, allocations: 12.41 kB / 447.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.147e-05/0.1899, allocations: 36.11 kB / 447.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1899, allocations: 0 / 447.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.067e-05/0.1899, allocations: 67.98 kB / 447.9 MB, free: 42.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.19, allocations: 5.938 kB / 447.9 MB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.19, allocations: 0 / 447.9 MB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.19, allocations: 9.531 kB / 447.9 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.19, allocations: 12.03 kB / 447.9 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.19, allocations: 0 / 447.9 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.252e-05/0.1901, allocations: 6.688 kB / 447.9 MB, free: 42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1901, allocations: 2.719 kB / 447.9 MB, free: 42 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 5.412e-05/0.1901, allocations: 133.2 kB / 448 MB, free: 41.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.1901, allocations: 12.31 kB / 448 MB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.1902, allocations: 11.36 kB / 448 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1902, allocations: 6.781 kB / 448 MB, free: 41.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1902, allocations: 4 kB / 448.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1902, allocations: 0 / 448.1 MB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.1903, allocations: 284 kB / 448.3 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1903, allocations: 0 / 448.3 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.1903, allocations: 15.81 kB / 448.3 MB, free: 41.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1903, allocations: 3.938 kB / 448.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.1904, allocations: 6.5 kB / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.1904, allocations: 0 / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1904, allocations: 7.188 kB / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.542e-05/0.1904, allocations: 157.2 kB / 448.5 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-06/0.1904, allocations: 6.844 kB / 448.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.1904, allocations: 3.938 kB / 448.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.7e-05/0.1905, allocations: 6 kB / 448.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.1905, allocations: 2.781 kB / 448.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.1905, allocations: 0 / 448.5 MB, free: 41.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.96e-05/0.1905, allocations: 88.02 kB / 448.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1905, allocations: 3.031 kB / 448.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.1906, allocations: 31.19 kB / 448.7 MB, free: 41.34 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 6.956e-05/0.1907, allocations: 97.19 kB / 448.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.97e-05/0.1908, allocations: 33.59 kB / 448.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1908, allocations: 0 / 448.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.939e-05/0.1908, allocations: 18.78 kB / 448.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.191, allocations: 5.625 kB / 448.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.1914, allocations: 305.1 kB / 449.1 MB, free: 41.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.208e-05/0.1914, allocations: 120.7 kB / 449.2 MB, free: 40.94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.1915, allocations: 15.12 kB / 449.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1915, allocations: 0 / 449.2 MB, free: 40.93 MB / 410.7 MB Notification: Performance of Templates: time 0.001809/0.1933, allocations: 1.276 MB / 450.5 MB, free: 40.88 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.779676797799766]