Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 107.2 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002112/0.002112, allocations: 186.6 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2959/0.2959, allocations: 44.23 MB / 330.2 MB, free: 9.559 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 74.55 kB / 467.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1783, allocations: 61.03 MB / 0.5166 GB, free: 6.875 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.003634/0.1819, allocations: 1.563 MB / 0.5181 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001954/0.1821, allocations: 47.83 kB / 0.5181 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.11e-05/0.1822, allocations: 7.938 kB / 0.5182 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.1824, allocations: 19.84 kB / 0.5182 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.699e-05/0.1824, allocations: 3.938 kB / 0.5182 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.1825, allocations: 27.98 kB / 0.5182 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1827, allocations: 67.81 kB / 0.5183 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/0.183, allocations: 95.53 kB / 0.5184 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.1831, allocations: 31.92 kB / 0.5184 GB, free: 5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.693e-05/0.1832, allocations: 47.83 kB / 0.5184 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.1832, allocations: 8 kB / 0.5184 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.047e-05/0.1832, allocations: 8 kB / 0.5185 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1833, allocations: 63.83 kB / 0.5185 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.886e-05/0.1834, allocations: 63.61 kB / 0.5186 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.1837, allocations: 155.2 kB / 0.5187 GB, free: 4.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1837, allocations: 4 kB / 0.5187 GB, free: 4.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1837, allocations: 4 kB / 0.5187 GB, free: 4.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1837, allocations: 3.938 kB / 0.5187 GB, free: 4.648 MB / 398.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.0006475/0.1843, allocations: 362.1 kB / 0.5191 GB, free: 4.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.1844, allocations: 12.03 kB / 0.5191 GB, free: 4.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.1844, allocations: 16.84 kB / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.1847, allocations: 158.3 kB / 0.5193 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.1848, allocations: 12.75 kB / 0.5193 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.1848, allocations: 16.38 kB / 0.5193 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.1853, allocations: 196.9 kB / 0.5195 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.1853, allocations: 11.92 kB / 0.5195 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.1853, allocations: 4 kB / 0.5195 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1854, allocations: 4 kB / 0.5195 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.1856, allocations: 127.3 kB / 0.5196 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007775/0.1864, allocations: 468.3 kB / 0.5201 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.1865, allocations: 34.56 kB / 0.5201 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.1866, allocations: 32.84 kB / 0.5201 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1866, allocations: 7.938 kB / 0.5201 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.1866, allocations: 42.55 kB / 0.5202 GB, free: 3.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/0.1866, allocations: 0 / 0.5202 GB, free: 3.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002729/0.1869, allocations: 69.69 kB / 0.5202 GB, free: 2.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.187, allocations: 51.41 kB / 0.5203 GB, free: 2.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1871, allocations: 109.8 kB / 0.5204 GB, free: 2.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.1871, allocations: 29.7 kB / 0.5204 GB, free: 2.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1872, allocations: 140.1 kB / 0.5206 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.1873, allocations: 15.86 kB / 0.5206 GB, free: 2.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.1873, allocations: 13.72 kB / 0.5206 GB, free: 2.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1875, allocations: 322.8 kB / 0.5209 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.161e-05/0.1875, allocations: 8 kB / 0.5209 GB, free: 2.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-05/0.1875, allocations: 15.92 kB / 0.5209 GB, free: 2.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.502e-05/0.1876, allocations: 32.84 kB / 0.5209 GB, free: 2.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1876, allocations: 0 / 0.5209 GB, free: 2.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001245/0.1877, allocations: 65.62 kB / 0.521 GB, free: 2.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1878, allocations: 4 kB / 0.521 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1878, allocations: 0 / 0.521 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1878, allocations: 4 kB / 0.521 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.1879, allocations: 11.98 kB / 0.521 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1879, allocations: 0 / 0.521 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.1879, allocations: 11.89 kB / 0.521 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1879, allocations: 0 / 0.521 GB, free: 2.105 MB / 398.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.0001268/0.1881, allocations: 137.8 kB / 0.5212 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.1881, allocations: 3.938 kB / 0.5212 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.1881, allocations: 8.062 kB / 0.5212 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1881, allocations: 4 kB / 0.5212 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1881, allocations: 7.938 kB / 0.5212 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1881, allocations: 0 / 0.5212 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004281/0.1885, allocations: 330 kB / 0.5215 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1885, allocations: 8.047 kB / 0.5215 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.1886, allocations: 8 kB / 0.5215 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1886, allocations: 4 kB / 0.5215 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1886, allocations: 0 / 0.5215 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1886, allocations: 3.938 kB / 0.5215 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1886, allocations: 0 / 0.5215 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1888, allocations: 171.4 kB / 0.5217 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.512e-05/0.1888, allocations: 7.891 kB / 0.5217 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.1889, allocations: 0 / 0.5217 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.414e-05/0.1889, allocations: 4 kB / 0.5217 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.189, allocations: 7.984 kB / 0.5217 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.189, allocations: 4 kB / 0.5217 GB, free: 1.332 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.371e-05/0.189, allocations: 87.22 kB / 0.5218 GB, free: 1.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.189, allocations: 0 / 0.5218 GB, free: 1.246 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.1892, allocations: 27.89 kB / 0.5218 GB, free: 1.219 MB / 398.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 0.0001165/0.1894, allocations: 99.16 kB / 0.5219 GB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.1895, allocations: 31.92 kB / 0.5219 GB, free: 1.082 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1895, allocations: 0 / 0.5219 GB, free: 1.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.878e-05/0.1896, allocations: 23.92 kB / 0.522 GB, free: 1.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1899, allocations: 12.55 kB / 0.522 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006551/0.1906, allocations: 267.3 kB / 0.5222 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.191, allocations: 0.7354 MB / 0.523 GB, free: 0 / 398.1 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.1911, allocations: 4.047 kB / 0.523 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.1911, allocations: 11.44 kB / 0.523 GB, free: 15.98 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1911, allocations: 0 / 0.523 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Templates: time 0.003877/0.195, allocations: 0.7149 MB / 0.5237 GB, free: 15.27 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.MuxDemux_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/MuxDemux/MuxDemux.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.640202204696834]