Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.0009243/0.0009243, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009276/0.0009276, allocations: 175.3 kB / 24.92 MB, free: 9.18 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.9792/0.9792, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2841/0.2841, allocations: 32.81 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.387e-05, allocations: 2.312 kB / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002388/0.002412, allocations: 1.763 MB / 325.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.003692, allocations: 1.001 MB / 326.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.463e-05/0.003767, allocations: 0 / 326.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.004057, allocations: 43.7 kB / 326.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.004339, allocations: 99.47 kB / 326.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.004554, allocations: 79.59 kB / 326.3 MB, free: 6.641 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.004698, allocations: 111.6 kB / 326.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.489e-05/0.004773, allocations: 9.359 kB / 326.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.004856, allocations: 55.83 kB / 326.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.004922, allocations: 19.92 kB / 326.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.004937, allocations: 4 kB / 326.5 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.703e-05/0.005014, allocations: 47.91 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.005056, allocations: 23.86 kB / 326.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.005088, allocations: 19.92 kB / 326.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.005236, allocations: 103.6 kB / 326.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005238, allocations: 0 / 326.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.005239, allocations: 4 kB / 326.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.005242, allocations: 0 / 326.7 MB, free: 6.25 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004232/0.005666, allocations: 325.3 kB / 327 MB, free: 5.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.005699, allocations: 12.03 kB / 327 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.005727, allocations: 8.922 kB / 327 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.005868, allocations: 151.4 kB / 327.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.005882, allocations: 4.375 kB / 327.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.0059, allocations: 4.375 kB / 327.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.006003, allocations: 65.7 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.006013, allocations: 3.938 kB / 327.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.00602, allocations: 4 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.006024, allocations: 0 / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.847e-05/0.006053, allocations: 11.98 kB / 327.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.00627, allocations: 161.9 kB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.145e-05/0.006362, allocations: 89.34 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.829e-05/0.00638, allocations: 12.86 kB / 327.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.006392, allocations: 0 / 327.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.15e-05/0.006473, allocations: 74.08 kB / 327.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.006474, allocations: 0 / 327.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002732/0.006747, allocations: 113.5 kB / 327.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.006776, allocations: 55.41 kB / 327.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/0.006872, allocations: 180.8 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.006885, allocations: 29.7 kB / 328 MB, free: 4.832 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.006917, allocations: 92.11 kB / 328.1 MB, free: 4.738 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.006942, allocations: 27.78 kB / 328.1 MB, free: 4.711 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.006969, allocations: 25.7 kB / 328.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.007043, allocations: 326.8 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.007058, allocations: 6.828 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.00708, allocations: 25.7 kB / 328.5 MB, free: 4.312 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.075e-05/0.007121, allocations: 52.52 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.007122, allocations: 0 / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.445e-05/0.007197, allocations: 72.38 kB / 328.6 MB, free: 4.176 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.007208, allocations: 11.94 kB / 328.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.007213, allocations: 3.984 kB / 328.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.007223, allocations: 0 / 328.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.00728, allocations: 12 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.007285, allocations: 0 / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.007321, allocations: 8.375 kB / 328.6 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.007327, allocations: 4.031 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0003976/0.007724, allocations: 120.7 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.00774, allocations: 15.88 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.007847, allocations: 71.12 kB / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.007848, allocations: 0 / 328.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.007851, allocations: 4 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007854, allocations: 0 / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.008078, allocations: 299.4 kB / 329.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.008079, allocations: 0 / 329.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/0.008105, allocations: 19.95 kB / 329.1 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.008108, allocations: 4 kB / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.008113, allocations: 0 / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008114, allocations: 0 / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.008116, allocations: 0 / 329.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.687e-05/0.008213, allocations: 219 kB / 329.4 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.008227, allocations: 11.94 kB / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.008244, allocations: 0 / 329.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.312e-05/0.008287, allocations: 8 kB / 329.4 MB, free: 3.312 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.008309, allocations: 3.984 kB / 329.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.008319, allocations: 4 kB / 329.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.371e-05/0.008363, allocations: 55.64 kB / 329.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008363, allocations: 0 / 329.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001446/0.008507, allocations: 23.94 kB / 329.5 MB, free: 3.223 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001173/0.00968, allocations: 0.5908 MB / 330 MB, free: 2.934 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.068e-05/0.009771, allocations: 40.78 kB / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.009774, allocations: 0 / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/0.009803, allocations: 24.8 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.009976, allocations: 39.91 kB / 330.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/0.01031, allocations: 215.7 kB / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.01035, allocations: 63.34 kB / 330.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.542e-05/0.01038, allocations: 21.41 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/0.01044, allocations: 67.36 kB / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01044, allocations: 0 / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of Templates: time 0.003763/0.01421, allocations: 2.017 MB / 332.5 MB, free: 432 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.1057358500547707]