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.0007546/0.0007546, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00106/0.001814, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007136/0.0007136, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000892/0.001606, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.029/1.029, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1045/1.134, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.2624/0.2624, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02406/0.2865, allocations: 13.09 MB / 291.3 MB, free: 7.367 MB / 282.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.[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.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.[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.1.0_ModelicaTest.Blocks.MuxDemux") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 292.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.185e-05, allocations: 3.891 kB / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.MuxDemux): time 0.002716/0.002738, allocations: 1.629 MB / 294.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001676/0.002905, allocations: 63.77 kB / 294.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/0.002968, allocations: 3.938 kB / 294.3 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.603e-05/0.003054, allocations: 27.8 kB / 294.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.285e-05/0.003077, allocations: 7.922 kB / 294.4 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.003204, allocations: 27.95 kB / 294.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.003311, allocations: 63.83 kB / 294.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.003551, allocations: 84.77 kB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.003656, allocations: 59.88 kB / 294.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.779e-05/0.003734, allocations: 31.89 kB / 294.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.003766, allocations: 12 kB / 294.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.732e-05/0.003783, allocations: 8 kB / 294.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.003857, allocations: 59.81 kB / 294.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.00391, allocations: 35.94 kB / 294.7 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.004067, allocations: 103.5 kB / 294.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.838e-05/0.004085, allocations: 0 / 294.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004086, allocations: 0 / 294.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.004102, allocations: 0 / 294.8 MB, free: 4.082 MB / 282.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.0005067/0.004609, allocations: 373.6 kB / 295.2 MB, free: 3.695 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.004644, allocations: 8.031 kB / 295.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.004698, allocations: 24.92 kB / 295.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.004881, allocations: 157.5 kB / 295.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.004899, allocations: 12.75 kB / 295.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.004924, allocations: 20.38 kB / 295.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.005156, allocations: 129.6 kB / 295.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.005167, allocations: 192 / 295.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.005187, allocations: 16.3 kB / 295.6 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.005199, allocations: 8.125 kB / 295.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.791e-05/0.005267, allocations: 35.72 kB / 295.6 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.005768, allocations: 337.2 kB / 295.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.743e-05/0.005835, allocations: 30.56 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.005862, allocations: 20.97 kB / 296 MB, free: 2.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.005876, allocations: 4 kB / 296 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.005903, allocations: 34.5 kB / 296 MB, free: 2.809 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.005904, allocations: 4 kB / 296 MB, free: 2.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001377/0.006041, allocations: 41.69 kB / 296.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.006081, allocations: 59.34 kB / 296.1 MB, free: 2.688 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.658e-05/0.006148, allocations: 110.7 kB / 296.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.006159, allocations: 29.7 kB / 296.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.006214, allocations: 132.2 kB / 296.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.006239, allocations: 19.83 kB / 296.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.006276, allocations: 25.7 kB / 296.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.006364, allocations: 314.8 kB / 296.7 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.006376, allocations: 4.25 kB / 296.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.136e-05/0.006387, allocations: 8 kB / 296.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.15e-05/0.006419, allocations: 20.78 kB / 296.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.006421, allocations: 0 / 296.8 MB, free: 1.996 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.581e-05/0.006487, allocations: 49.69 kB / 296.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.006501, allocations: 4 kB / 296.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.006506, allocations: 0 / 296.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.006515, allocations: 0 / 296.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.525e-05/0.0066, allocations: 11.98 kB / 296.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.006605, allocations: 11.94 kB / 296.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.006623, allocations: 0 / 296.8 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.00663, allocations: 320 / 296.8 MB, free: 1.914 MB / 282.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 6.787e-05/0.006698, allocations: 116.6 kB / 297 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.006721, allocations: 7.984 kB / 297 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.006744, allocations: 8.125 kB / 297 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.006747, allocations: 3.938 kB / 297 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.006751, allocations: 3.938 kB / 297 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.006755, allocations: 0 / 297 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.007028, allocations: 218.8 kB / 297.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.007031, allocations: 7.984 kB / 297.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.007081, allocations: 11.94 kB / 297.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.697e-06/0.007089, allocations: 4 kB / 297.2 MB, free: 1.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.007093, allocations: 4 kB / 297.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.0071, allocations: 4.188 kB / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.007102, allocations: 0 / 297.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.007105, allocations: 4 kB / 297.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.246e-05/0.007197, allocations: 143.5 kB / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.587e-06/0.007206, allocations: 0 / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.295e-05/0.007249, allocations: 0 / 297.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.00727, allocations: 11.94 kB / 297.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.007275, allocations: 4 kB / 297.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.8e-05/0.007293, allocations: 16.83 kB / 297.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007293, allocations: 0 / 297.4 MB, free: 1.301 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000209/0.007502, allocations: 35.72 kB / 297.4 MB, free: 1.266 MB / 282.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.474e-05/0.007596, allocations: 77.06 kB / 297.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.203e-05/0.007669, allocations: 24.84 kB / 297.5 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.007674, allocations: 0 / 297.5 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.627e-05/0.00769, allocations: 16.8 kB / 297.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.007889, allocations: 19.98 kB / 297.6 MB, free: 1.117 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.008506, allocations: 262.6 kB / 297.8 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.067e-05/0.008577, allocations: 85.75 kB / 297.9 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.403e-05/0.008611, allocations: 4 kB / 297.9 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.008681, allocations: 59.36 kB / 298 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.008682, allocations: 0 / 298 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of Templates: time 0.00311/0.01179, allocations: 0.7645 MB / 298.7 MB, free: 15.92 MB / 298.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.MuxDemux.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8571372469887137]