Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001012/0.001012, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.001019/0.001019, allocations: 166.2 kB / 24.99 MB, free: 9.289 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.9702/0.9702, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2456/0.2456, allocations: 32.8 MB / 294.6 MB, free: 1.301 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 376.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.797e-05, allocations: 2.312 kB / 376.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002136/0.002154, allocations: 1.789 MB / 377.9 MB, free: 3.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.00347, allocations: 1.001 MB / 378.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.18e-05/0.003552, allocations: 4 kB / 378.9 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.003866, allocations: 87.62 kB / 379 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.004201, allocations: 123.4 kB / 379.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.004408, allocations: 83.55 kB / 379.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.004572, allocations: 123.7 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.004658, allocations: 4 kB / 379.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.784e-05/0.004746, allocations: 75.73 kB / 379.4 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.66e-05/0.004832, allocations: 51.88 kB / 379.4 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.004848, allocations: 4 kB / 379.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.944e-05/0.004948, allocations: 67.89 kB / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.005, allocations: 27.86 kB / 379.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.005038, allocations: 15.94 kB / 379.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.005227, allocations: 127.5 kB / 379.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.00523, allocations: 0 / 379.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.005231, allocations: 0 / 379.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.005236, allocations: 0 / 379.7 MB, free: 1.316 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004708/0.005707, allocations: 467.7 kB / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.005745, allocations: 8.031 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.005794, allocations: 16.84 kB / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.005966, allocations: 160.4 kB / 380.3 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.005987, allocations: 4.375 kB / 380.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.006007, allocations: 4.375 kB / 380.3 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.006132, allocations: 70.88 kB / 380.4 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.006141, allocations: 3.938 kB / 380.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.006151, allocations: 0 / 380.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.006157, allocations: 0 / 380.4 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.006197, allocations: 19.98 kB / 380.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.006493, allocations: 295.8 kB / 380.7 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.006653, allocations: 58.92 kB / 380.7 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/0.006685, allocations: 23.8 kB / 380.8 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.006696, allocations: 0 / 380.8 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/0.006801, allocations: 77.03 kB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.006803, allocations: 0 / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005182/0.007321, allocations: 221.7 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.007354, allocations: 51.41 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.007503, allocations: 246.7 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.007519, allocations: 29.69 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.007581, allocations: 158.8 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.007613, allocations: 35.69 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.007651, allocations: 35.36 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.007782, allocations: 0.5079 MB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.007813, allocations: 19.98 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.371e-05/0.007856, allocations: 47.23 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.97e-05/0.007926, allocations: 55.38 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.007927, allocations: 0 / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001321/0.008059, allocations: 117.5 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.008074, allocations: 10.03 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.008079, allocations: 0 / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.00809, allocations: 0 / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.00815, allocations: 31.95 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.008155, allocations: 0 / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.631e-05/0.008182, allocations: 0 / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.00819, allocations: 8 kB / 382.4 MB, free: 14.36 MB / 362.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 (13): * Single equations (assignments): 13 * 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 7.794e-05/0.008268, allocations: 168.5 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.008289, allocations: 19.89 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.008455, allocations: 134.9 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008457, allocations: 0 / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.008461, allocations: 0 / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.008464, allocations: 0 / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.008796, allocations: 448.6 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.008798, allocations: 0 / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.00883, allocations: 19.92 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.008831, allocations: 0 / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.00884, allocations: 8 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.008842, allocations: 0 / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.008846, allocations: 7.938 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.009016, allocations: 287.1 kB / 383.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.009028, allocations: 11.91 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.009048, allocations: 12.06 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.024e-05/0.009088, allocations: 0 / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.009121, allocations: 11.92 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.009133, allocations: 4 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.132e-05/0.009215, allocations: 185 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009215, allocations: 0 / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001857/0.009401, allocations: 35.92 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0009975/0.0104, allocations: 493.4 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.01053, allocations: 67.59 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01053, allocations: 0 / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.604e-05/0.01058, allocations: 39.61 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.01081, allocations: 32.19 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.01117, allocations: 276.5 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.068e-05/0.01121, allocations: 71.33 kB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.688e-05/0.01125, allocations: 16.59 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.01128, allocations: 28.48 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01128, allocations: 0 / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003476/0.01476, allocations: 2.117 MB / 386.8 MB, free: 9.969 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.207562772091478]