Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.0009985/0.0009985, 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.0009613/0.0009613, 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 1.019/1.019, allocations: 177.1 MB / 205 MB, free: 5.625 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.2579/0.2579, allocations: 34.26 MB / 295.7 MB, free: 0.7383 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.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.648e-05, allocations: 2.312 kB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002075/0.002092, allocations: 1.638 MB / 379.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008131/0.002905, allocations: 0.5414 MB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.002957, allocations: 0 / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.003171, allocations: 31.78 kB / 380.3 MB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.003424, allocations: 79.61 kB / 380.3 MB, free: 312 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.003724, allocations: 123.5 kB / 380.5 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.003849, allocations: 63.83 kB / 380.5 MB, free: 124 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.441e-05/0.003933, allocations: 8 kB / 380.5 MB, free: 116 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.935e-05/0.003983, allocations: 27.86 kB / 380.6 MB, free: 88 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.284e-05/0.004036, allocations: 23.91 kB / 380.6 MB, free: 64 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.004048, allocations: 4 kB / 380.6 MB, free: 60 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.402e-05/0.004122, allocations: 27.98 kB / 380.6 MB, free: 32 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.004165, allocations: 15.92 kB / 380.6 MB, free: 16 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.004206, allocations: 19.97 kB / 380.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.004344, allocations: 71.64 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.004346, allocations: 4 kB / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004347, allocations: 0 / 380.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.004351, allocations: 0 / 380.7 MB, free: 15.92 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003729/0.004724, allocations: 424 kB / 381.1 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.004765, allocations: 12.03 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.004807, allocations: 8.891 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.004947, allocations: 137.1 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.004959, allocations: 4.375 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.004983, allocations: 8.359 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.005115, allocations: 54.7 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.005128, allocations: 8 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.005138, allocations: 0 / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.005145, allocations: 0 / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.08e-05/0.005176, allocations: 4 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.005482, allocations: 287.7 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.005953, allocations: 43 kB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.005976, allocations: 11.77 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.005995, allocations: 4 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.006018, allocations: 33.39 kB / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.006019, allocations: 0 / 381.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003213/0.00634, allocations: 105.4 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.006368, allocations: 59.34 kB / 381.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.006484, allocations: 216.8 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.006494, allocations: 29.7 kB / 382.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.006544, allocations: 150.8 kB / 382.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.006561, allocations: 11.84 kB / 382.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.006591, allocations: 27.36 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.006696, allocations: 0.4922 MB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.006712, allocations: 7.984 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.402e-05/0.006726, allocations: 12.06 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/0.006762, allocations: 27.69 kB / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.006762, allocations: 0 / 382.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.026e-05/0.006833, allocations: 57.64 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.006844, allocations: 9.656 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.006848, allocations: 0 / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.006861, allocations: 4 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.799e-05/0.006899, allocations: 11.98 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.006903, allocations: 3.938 kB / 383 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.00692, allocations: 4 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.006924, allocations: 4 kB / 383 MB, free: 13.48 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 (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.931e-05/0.006994, allocations: 160.5 kB / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.007014, allocations: 15.91 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.007119, allocations: 70.12 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.00712, allocations: 0 / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.007124, allocations: 4 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.007126, allocations: 3.938 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.00734, allocations: 325.4 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007342, allocations: 0 / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.007371, allocations: 12.3 kB / 383.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007373, allocations: 288 / 383.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.00738, allocations: 8 kB / 383.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.007383, allocations: 8 kB / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007384, allocations: 0 / 383.6 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.894e-05/0.007483, allocations: 211.8 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.007492, allocations: 11.95 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.007503, allocations: 0 / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.955e-05/0.007533, allocations: 4 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.007561, allocations: 3.984 kB / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.007564, allocations: 0 / 383.8 MB, free: 12.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.007625, allocations: 161.6 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007625, allocations: 0 / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.007781, allocations: 23.94 kB / 384 MB, free: 12.4 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 (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.0008505/0.008631, allocations: 373.7 kB / 384.3 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.892e-05/0.00872, allocations: 35.61 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.008721, allocations: 0 / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.01e-05/0.008741, allocations: 15.69 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.008949, allocations: 19.73 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.009233, allocations: 198.2 kB / 384.6 MB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.485e-05/0.009268, allocations: 63.34 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.074e-05/0.009299, allocations: 11.98 kB / 384.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.009325, allocations: 16.5 kB / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009325, allocations: 0 / 384.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of Templates: time 0.002821/0.01215, allocations: 1.264 MB / 385.9 MB, free: 10.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.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.203670283779502]