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.0008017/0.0008017, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003731/0.003731, allocations: 161 kB / 24.7 MB, free: 9.41 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.8639/0.8639, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2793/0.2793, allocations: 34.26 MB / 295.7 MB, free: 0.7148 MB / 266.7 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 1.182e-06/1.182e-06, allocations: 0 / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.827e-05, allocations: 2.844 kB / 443.4 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.1832/0.1832, allocations: 1.541 MB / 445 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002157/0.1834, allocations: 63.94 kB / 445 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.1835, allocations: 3.094 kB / 445 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.1836, allocations: 14.62 kB / 445.1 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.663e-05/0.1836, allocations: 9.312 kB / 445.1 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.1838, allocations: 25.89 kB / 445.1 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.189e-05/0.1838, allocations: 70.09 kB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.184, allocations: 78.91 kB / 445.2 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.667e-05/0.1841, allocations: 56.67 kB / 445.3 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.1841, allocations: 34.33 kB / 445.3 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.1841, allocations: 8.781 kB / 445.3 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.1841, allocations: 5.812 kB / 445.3 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.964e-05/0.1842, allocations: 77.09 kB / 445.4 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.1842, allocations: 46.62 kB / 445.5 MB, free: 43.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.1843, allocations: 149.3 kB / 445.6 MB, free: 43.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1843, allocations: 0 / 445.6 MB, free: 43.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1843, allocations: 0 / 445.6 MB, free: 43.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1844, allocations: 0 / 445.6 MB, free: 43.61 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.0003132/0.1847, allocations: 366.9 kB / 446 MB, free: 43.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1847, allocations: 8.781 kB / 446 MB, free: 43.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.1847, allocations: 17.47 kB / 446 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.1849, allocations: 162.5 kB / 446.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1849, allocations: 10.31 kB / 446.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.1849, allocations: 26.88 kB / 446.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.1851, allocations: 187.1 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1851, allocations: 192 / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1851, allocations: 9.25 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1852, allocations: 11.16 kB / 446.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.1853, allocations: 137.2 kB / 446.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.1857, allocations: 379.6 kB / 446.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.748e-05/0.1857, allocations: 46.77 kB / 446.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.1858, allocations: 27.8 kB / 447 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1858, allocations: 0 / 447 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.1858, allocations: 35.62 kB / 447 MB, free: 42.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.1858, allocations: 0 / 447 MB, free: 42.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000188/0.186, allocations: 86.41 kB / 447.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.186, allocations: 51.41 kB / 447.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.909e-05/0.1861, allocations: 107.2 kB / 447.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.1861, allocations: 25.7 kB / 447.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.1861, allocations: 141 kB / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.1861, allocations: 17.62 kB / 447.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.1861, allocations: 21.47 kB / 447.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.334e-05/0.1862, allocations: 319.6 kB / 447.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.164e-05/0.1862, allocations: 8.516 kB / 447.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.1862, allocations: 14.5 kB / 447.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/0.1863, allocations: 37.16 kB / 447.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1863, allocations: 0 / 447.8 MB, free: 42.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.104e-05/0.1863, allocations: 66.31 kB / 447.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1863, allocations: 6.125 kB / 447.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1864, allocations: 0 / 447.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1864, allocations: 3.938 kB / 447.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.1864, allocations: 12.75 kB / 447.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1864, allocations: 0 / 447.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.1865, allocations: 6.031 kB / 447.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1865, allocations: 4 kB / 447.9 MB, free: 42.05 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.726e-05/0.1865, allocations: 134.2 kB / 448 MB, free: 41.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.1865, allocations: 11.23 kB / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.664e-05/0.1865, allocations: 8.062 kB / 448.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1866, allocations: 3.938 kB / 448.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1866, allocations: 2.875 kB / 448.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1866, allocations: 0 / 448.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.1867, allocations: 293.9 kB / 448.3 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.1867, allocations: 0 / 448.3 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/0.1867, allocations: 16.11 kB / 448.4 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1867, allocations: 5.25 kB / 448.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.1867, allocations: 0 / 448.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.1867, allocations: 2.875 kB / 448.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1867, allocations: 0 / 448.4 MB, free: 41.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.536e-05/0.1868, allocations: 160 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-06/0.1868, allocations: 2.656 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.1868, allocations: 7.875 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.756e-05/0.1868, allocations: 6.75 kB / 448.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.1868, allocations: 3.375 kB / 448.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.1869, allocations: 6.812 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.637e-05/0.1869, allocations: 84.31 kB / 448.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1869, allocations: 0 / 448.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001398/0.187, allocations: 30.19 kB / 448.7 MB, free: 41.45 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.161e-05/0.1871, allocations: 93.52 kB / 448.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.82e-05/0.1872, allocations: 30.66 kB / 448.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.1872, allocations: 0 / 448.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.83e-05/0.1872, allocations: 23.67 kB / 448.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.1874, allocations: 17.95 kB / 448.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.1877, allocations: 296.3 kB / 449.1 MB, free: 41.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.555e-05/0.1877, allocations: 118.6 kB / 449.2 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.1878, allocations: 11.09 kB / 449.2 MB, free: 41.08 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1878, allocations: 2.656 kB / 449.2 MB, free: 41.08 MB / 410.7 MB Notification: Performance of Templates: time 0.001587/0.1893, allocations: 1.274 MB / 450.5 MB, free: 41.02 MB / 410.7 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: 4.620395754463971]