Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001462/0.001462, allocations: 71.77 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.001167/0.001167, allocations: 165.9 kB / 24.99 MB, free: 8.336 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 1.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2626/0.2626, allocations: 32.81 MB / 294.6 MB, free: 1.289 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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 376.1 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.587e-05, allocations: 2.312 kB / 376.1 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002388/0.002414, allocations: 1.797 MB / 377.9 MB, free: 3.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.003786, allocations: 0.9975 MB / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.195e-05/0.003868, allocations: 0 / 378.9 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003404/0.004208, allocations: 107.6 kB / 379 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.004513, allocations: 135.4 kB / 379.1 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.004702, allocations: 79.59 kB / 379.2 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.004879, allocations: 131.6 kB / 379.3 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.004979, allocations: 11.98 kB / 379.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.858e-05/0.005077, allocations: 71.8 kB / 379.4 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.792e-05/0.005175, allocations: 63.86 kB / 379.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.005191, allocations: 4 kB / 379.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.005294, allocations: 63.86 kB / 379.5 MB, free: 1.445 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.005348, allocations: 27.86 kB / 379.6 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.005394, allocations: 27.91 kB / 379.6 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.005594, allocations: 119.5 kB / 379.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.005598, allocations: 0 / 379.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.005599, allocations: 0 / 379.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005604, allocations: 0 / 379.7 MB, free: 1.273 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.0005053/0.006109, allocations: 479.6 kB / 380.2 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.006149, allocations: 8.031 kB / 380.2 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.518e-05/0.006204, allocations: 28.78 kB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.006386, allocations: 156.3 kB / 380.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.006406, allocations: 4.359 kB / 380.4 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.006427, allocations: 8.375 kB / 380.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.006564, allocations: 66.92 kB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.006576, allocations: 3.938 kB / 380.4 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.006586, allocations: 4 kB / 380.4 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.006594, allocations: 0 / 380.4 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.775e-05/0.006632, allocations: 11.98 kB / 380.5 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.006981, allocations: 315.6 kB / 380.8 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.007174, allocations: 58.98 kB / 380.8 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.00721, allocations: 23.8 kB / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.007222, allocations: 0 / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.007345, allocations: 72.98 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.007346, allocations: 0 / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000593/0.007939, allocations: 221.8 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.007976, allocations: 55.41 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.008154, allocations: 269.6 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.008174, allocations: 25.7 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.008265, allocations: 170.8 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.008309, allocations: 35.73 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.008363, allocations: 39.3 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.008513, allocations: 0.5 MB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.154e-05/0.008565, allocations: 23.98 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/0.008626, allocations: 39.36 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.008732, allocations: 63.31 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.008733, allocations: 0 / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002034/0.008936, allocations: 113.5 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.008956, allocations: 10.19 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.008961, allocations: 0 / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.008976, allocations: 0 / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.009066, allocations: 23.98 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.009072, allocations: 3.938 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.009117, allocations: 7.953 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.009126, allocations: 4 kB / 382.5 MB, free: 14.25 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 0.0001017/0.009228, allocations: 172.4 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.318e-05/0.009261, allocations: 27.92 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.009515, allocations: 123.1 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.009518, allocations: 0 / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.009522, allocations: 0 / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.009529, allocations: 4 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.01003, allocations: 448.6 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.01004, allocations: 0 / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.01009, allocations: 12 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01009, allocations: 0 / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.01011, allocations: 8.062 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.01011, allocations: 4 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.01012, allocations: 11.88 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.01038, allocations: 287.1 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.0104, allocations: 11.91 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.01042, allocations: 8 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.0105, allocations: 0 / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.01054, allocations: 19.91 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.01056, allocations: 4 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.01068, allocations: 188.4 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01068, allocations: 0 / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.01099, allocations: 35.94 kB / 383.8 MB, free: 12.82 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.001541/0.01254, allocations: 497.9 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.01279, allocations: 63.59 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.0128, allocations: 4.062 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.793e-05/0.01286, allocations: 39.61 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.01314, allocations: 32.14 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.01359, allocations: 290 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.582e-05/0.01363, allocations: 75.33 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.35e-05/0.01369, allocations: 24.75 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.01373, allocations: 16.5 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of SimCode: time 1.713e-06/0.01373, allocations: 0 / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of Templates: time 0.004383/0.01811, allocations: 2.132 MB / 387 MB, free: 9.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.3024388439953327]