Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.001075/0.001075, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001188/0.001188, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9451/0.9451, allocations: 177.1 MB / 205 MB, free: 5.633 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.2549/0.2549, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.145e-05, allocations: 2.312 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002099/0.002121, allocations: 1.708 MB / 379.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.003309, allocations: 1.317 MB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.377e-05/0.003373, allocations: 4 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.003587, allocations: 15.86 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.003894, allocations: 91.48 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.004212, allocations: 179.4 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.004344, allocations: 79.75 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.004431, allocations: 15.98 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.574e-05/0.004487, allocations: 39.91 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.111e-05/0.004578, allocations: 31.91 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.004595, allocations: 8 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.004723, allocations: 95.81 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.004776, allocations: 19.91 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.004803, allocations: 15.94 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.005003, allocations: 147.5 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.005005, allocations: 0 / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005006, allocations: 0 / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.00501, allocations: 3.938 kB / 381.8 MB, free: 14.86 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003945/0.005405, allocations: 432 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.00544, allocations: 8.031 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.005485, allocations: 16.89 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.005628, allocations: 138.2 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.005638, allocations: 4.375 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.005658, allocations: 4.375 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.005804, allocations: 115.9 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.005814, allocations: 4.125 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.005825, allocations: 4.125 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.005832, allocations: 4 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.11e-05/0.005864, allocations: 7.984 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.00615, allocations: 295.7 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.963e-05/0.006219, allocations: 46.97 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.006244, allocations: 15.62 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.006262, allocations: 4 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.00628, allocations: 33.39 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.006281, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003695/0.006651, allocations: 133.5 kB / 383 MB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.006685, allocations: 81.11 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.006797, allocations: 196.2 kB / 383.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.006808, allocations: 29.7 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.006854, allocations: 142.9 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.006876, allocations: 27.75 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.006909, allocations: 31.44 kB / 383.5 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.007008, allocations: 496.1 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.007031, allocations: 15.97 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.691e-05/0.007068, allocations: 57.06 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.605e-05/0.007114, allocations: 35.56 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.007115, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.339e-05/0.007198, allocations: 69.64 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.007209, allocations: 8.031 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.007213, allocations: 0 / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.007224, allocations: 0 / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.556e-05/0.0073, allocations: 23.98 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.007305, allocations: 0 / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.393e-05/0.007329, allocations: 4 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.007335, allocations: 3.984 kB / 384.2 MB, free: 12.18 MB / 362.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 (7): * Single equations (assignments): 7 * 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.417e-05/0.007399, allocations: 168.5 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.007419, allocations: 7.953 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.007539, allocations: 78.44 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.007541, allocations: 8 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.007545, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.007547, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.008047, allocations: 345.7 kB / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008048, allocations: 0 / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.008087, allocations: 15.98 kB / 384.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.00809, allocations: 0 / 384.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.008098, allocations: 8 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008099, allocations: 0 / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.008101, allocations: 0 / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.008212, allocations: 235.8 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.008221, allocations: 7.953 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.008232, allocations: 0 / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/0.00827, allocations: 8 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.008303, allocations: 7.984 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.008307, allocations: 0 / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.898e-05/0.008366, allocations: 147.2 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008366, allocations: 4 kB / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001887/0.008554, allocations: 43.86 kB / 385.3 MB, free: 11.04 MB / 362.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 (7): * Single equations (assignments): 7 * 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.0009526/0.009507, allocations: 485.5 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001142/0.009621, allocations: 55.58 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009623, allocations: 0 / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.28e-05/0.009655, allocations: 27.67 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.009848, allocations: 27.88 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.01015, allocations: 200.8 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.392e-05/0.0102, allocations: 67.34 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.843e-05/0.01025, allocations: 20.7 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.01028, allocations: 16.5 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01028, allocations: 0 / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of Templates: time 0.003702/0.01398, allocations: 2.205 MB / 388.4 MB, free: 8.086 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.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: 3.267917590215802]