Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001002/0.001002, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001347/0.001347, allocations: 164.8 kB / 25.61 MB, free: 8.902 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.9248/0.9248, allocations: 177.1 MB / 206 MB, free: 4.504 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.1417/0.1417, allocations: 34.26 MB / 296.8 MB, free: 13.95 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.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.944e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001868/0.001888, allocations: 1.645 MB / 380.9 MB, free: 21.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000608/0.002496, allocations: 0.5491 MB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.002549, allocations: 7.938 kB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.002915, allocations: 455.1 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.003201, allocations: 291.2 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.003453, allocations: 167.5 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.00361, allocations: 187.5 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.037e-05/0.0037, allocations: 7.859 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.404e-05/0.003784, allocations: 115.8 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.003928, allocations: 247.6 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.003943, allocations: 4 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.189e-05/0.003995, allocations: 23.94 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.89e-05/0.004064, allocations: 91.69 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.004096, allocations: 35.75 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.004243, allocations: 187.2 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004245, allocations: 0 / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.004246, allocations: 0 / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.00425, allocations: 0 / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003805/0.00463, allocations: 0.7009 MB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.004659, allocations: 16.02 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.0047, allocations: 40.66 kB / 384 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.004828, allocations: 252.8 kB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.004836, allocations: 384 / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.004842, allocations: 4.375 kB / 384.3 MB, free: 18.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.162e-05/0.004924, allocations: 58.94 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.00493, allocations: 192 / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.004937, allocations: 4.125 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.004941, allocations: 0 / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.77e-05/0.004959, allocations: 11.98 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.005197, allocations: 328.3 kB / 384.7 MB, free: 17.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.761e-05/0.005244, allocations: 47.03 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.005258, allocations: 11.69 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.005271, allocations: 0 / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.005285, allocations: 37.33 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.005285, allocations: 0 / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001263/0.005412, allocations: 97.39 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.00543, allocations: 51.41 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.005677, allocations: 0.604 MB / 385.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-06/0.005682, allocations: 29.7 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.836e-05/0.00578, allocations: 302.7 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.005795, allocations: 7.953 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.005817, allocations: 23.36 kB / 385.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.405e-05/0.005881, allocations: 0.5547 MB / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.005891, allocations: 0 / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/0.005901, allocations: 7.984 kB / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.44e-05/0.005925, allocations: 19.69 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.005927, allocations: 3.938 kB / 386.5 MB, free: 16.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.703e-05/0.005994, allocations: 85.67 kB / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.006004, allocations: 7.938 kB / 386.5 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.006008, allocations: 4 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/0.006015, allocations: 0 / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.13e-05/0.006067, allocations: 8 kB / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-06/0.006068, allocations: 0 / 386.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.006094, allocations: 7.938 kB / 386.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.0061, allocations: 7.984 kB / 386.6 MB, free: 15.91 MB / 314.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 (3): * Single equations (assignments): 3 * 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 4.793e-05/0.006148, allocations: 156.6 kB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.006176, allocations: 47.66 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.343e-05/0.00627, allocations: 85.06 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.006271, allocations: 4 kB / 386.9 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.006273, allocations: 8 kB / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006276, allocations: 0 / 386.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.006399, allocations: 197.1 kB / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.006399, allocations: 0 / 387.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.006425, allocations: 11.98 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.006426, allocations: 0 / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-06/0.00643, allocations: 0 / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006431, allocations: 3.938 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006432, allocations: 0 / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.234e-05/0.006505, allocations: 231.7 kB / 387.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.006526, allocations: 39.72 kB / 387.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.006539, allocations: 0 / 387.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.879e-05/0.006578, allocations: 7.938 kB / 387.4 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.006588, allocations: 7.922 kB / 387.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.006591, allocations: 0 / 387.4 MB, free: 15.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.006727, allocations: 394.7 kB / 387.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006727, allocations: 0 / 387.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001663/0.006894, allocations: 23.94 kB / 387.8 MB, free: 14.65 MB / 314.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 (3): * Single equations (assignments): 3 * 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.0006676/0.007561, allocations: 336 kB / 388.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.776e-05/0.007629, allocations: 19.67 kB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.00763, allocations: 4 kB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.007641, allocations: 15.67 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.00787, allocations: 29.14 kB / 388.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.008324, allocations: 0.5746 MB / 388.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.106e-05/0.008375, allocations: 123.1 kB / 388.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.736e-05/0.008402, allocations: 7.984 kB / 388.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.008442, allocations: 74.2 kB / 388.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.008442, allocations: 4 kB / 388.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of Templates: time 0.003537/0.01198, allocations: 1.3 MB / 390.2 MB, free: 12.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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.985397761221975]