Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001081/0.001081, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001087/0.001087, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.101/1.101, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2529/0.2529, allocations: 32.81 MB / 294.6 MB, free: 1.234 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 376.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.892e-05, allocations: 2.312 kB / 376.6 MB, free: 4.305 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.0039/0.003929, allocations: 1.933 MB / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.006053, allocations: 1.091 MB / 379.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.006206, allocations: 7.938 kB / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005168/0.006723, allocations: 159.4 kB / 379.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005701/0.007293, allocations: 191.2 kB / 379.9 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.007638, allocations: 119.5 kB / 380.1 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003799/0.008018, allocations: 251.2 kB / 380.3 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.008163, allocations: 21.95 kB / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.008417, allocations: 131.7 kB / 380.5 MB, free: 408 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.008645, allocations: 131.7 kB / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.008681, allocations: 12 kB / 380.6 MB, free: 264 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.008835, allocations: 59.86 kB / 380.7 MB, free: 204 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.467e-05/0.00892, allocations: 63.77 kB / 380.7 MB, free: 140 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.00899, allocations: 43.8 kB / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.009333, allocations: 183.2 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.009336, allocations: 0 / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.009338, allocations: 0 / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.009343, allocations: 0 / 380.9 MB, free: 15.91 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007084/0.01005, allocations: 0.573 MB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.0101, allocations: 8.031 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.01017, allocations: 32.8 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.01047, allocations: 220.5 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.01049, allocations: 4.375 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.01052, allocations: 12.38 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.01073, allocations: 114.2 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.01074, allocations: 3.938 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.01075, allocations: 4 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.01076, allocations: 3.938 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.358e-05/0.01082, allocations: 27.91 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.01136, allocations: 455.3 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.01165, allocations: 117.9 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.0117, allocations: 43.59 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.01172, allocations: 0 / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.0119, allocations: 122.9 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.0119, allocations: 0 / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009446/0.01284, allocations: 365.7 kB / 383 MB, free: 13.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.0129, allocations: 89.05 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.0132, allocations: 358.1 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.01323, allocations: 29.7 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.01336, allocations: 203.3 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.01343, allocations: 75.41 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.0135, allocations: 47.34 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.01367, allocations: 0.5157 MB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.261e-05/0.01372, allocations: 27.97 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.509e-05/0.01381, allocations: 70.7 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.01397, allocations: 118.8 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01397, allocations: 0 / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002923/0.01426, allocations: 177.3 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.01428, allocations: 6.188 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.01429, allocations: 7.938 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.0143, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.01444, allocations: 47.97 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.01444, allocations: 0 / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.01e-05/0.01452, allocations: 11.94 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.01454, allocations: 8.062 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.00013/0.01467, allocations: 176.5 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.01473, allocations: 31.81 kB / 385 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.0151, allocations: 220 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.0151, allocations: 4 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01511, allocations: 4 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.01511, allocations: 7.938 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007893/0.0159, allocations: 0.6986 MB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01591, allocations: 0 / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.01601, allocations: 27.98 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.01602, allocations: 7.938 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.01603, allocations: 8 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.01604, allocations: 7.938 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.01604, allocations: 0 / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.01646, allocations: 0.4897 MB / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.0165, allocations: 27.75 kB / 386.5 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/0.01654, allocations: 8 kB / 386.5 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.01669, allocations: 16.08 kB / 386.5 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.01674, allocations: 19.97 kB / 386.5 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.01677, allocations: 8 kB / 386.5 MB, free: 9.934 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001861/0.01696, allocations: 230.9 kB / 386.8 MB, free: 9.707 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01696, allocations: 4 kB / 386.8 MB, free: 9.703 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004439/0.0174, allocations: 51.92 kB / 386.8 MB, free: 9.652 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001816/0.01922, allocations: 494.9 kB / 387.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.01949, allocations: 126.2 kB / 387.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.01949, allocations: 0 / 387.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.0196, allocations: 67.52 kB / 387.5 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.02024, allocations: 74.75 kB / 387.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/0.02102, allocations: 465.5 kB / 388 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.562e-05/0.02112, allocations: 92.31 kB / 388.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.02123, allocations: 37.91 kB / 388.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.02141, allocations: 122.2 kB / 388.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02141, allocations: 0 / 388.3 MB, free: 8.324 MB / 362.7 MB Notification: Performance of Templates: time 0.008043/0.02945, allocations: 3.653 MB / 391.9 MB, free: 4.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.1003657737746835]