Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000992/0.000992, allocations: 91.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001752/0.001752, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.026/1.026, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3029/0.3029, allocations: 34.87 MB / 296.3 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 378.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.441e-05, allocations: 7.094 kB / 378.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00319/0.003224, allocations: 1.944 MB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.004974, allocations: 1.11 MB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.005103, allocations: 3.938 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.005589, allocations: 227.2 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005385/0.006128, allocations: 223.1 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.006452, allocations: 123.5 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.006816, allocations: 263.2 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.006966, allocations: 17.95 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.007185, allocations: 147.7 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.007387, allocations: 159.6 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.007415, allocations: 8 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.007565, allocations: 59.92 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.007646, allocations: 63.77 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.007711, allocations: 47.78 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.008004, allocations: 203.1 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.008009, allocations: 0 / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.00801, allocations: 0 / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.008017, allocations: 0 / 383.4 MB, free: 13.37 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.0007739/0.008791, allocations: 0.6002 MB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.008832, allocations: 8.031 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/0.008905, allocations: 40.73 kB / 384.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.009165, allocations: 228.5 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.009186, allocations: 4.375 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.009215, allocations: 8.375 kB / 384.3 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.009406, allocations: 114.3 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.009418, allocations: 4.141 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.00943, allocations: 4.375 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.009439, allocations: 7.938 kB / 384.4 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.167e-05/0.0095, allocations: 39.89 kB / 384.5 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.009997, allocations: 0.5024 MB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.01025, allocations: 126.1 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.0103, allocations: 51.36 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.01032, allocations: 0 / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.01048, allocations: 119.3 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.934e-06/0.01048, allocations: 0 / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009023/0.01139, allocations: 465.7 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.01144, allocations: 85.05 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.01178, allocations: 398.3 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.01182, allocations: 37.7 kB / 386.2 MB, free: 10.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.01194, allocations: 211.3 kB / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.01201, allocations: 79.41 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.289e-05/0.01207, allocations: 51.3 kB / 386.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004405/0.01251, allocations: 0.5235 MB / 387.1 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.397e-05/0.01258, allocations: 35.97 kB / 387.1 MB, free: 9.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.473e-05/0.01266, allocations: 80.91 kB / 387.2 MB, free: 9.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.0128, allocations: 118.9 kB / 387.3 MB, free: 9.195 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.0128, allocations: 0 / 387.3 MB, free: 9.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002586/0.01306, allocations: 213.2 kB / 387.5 MB, free: 8.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.01308, allocations: 8 kB / 387.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01308, allocations: 0 / 387.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.0131, allocations: 4 kB / 387.5 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.0132, allocations: 39.97 kB / 387.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.01321, allocations: 7.938 kB / 387.6 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.01326, allocations: 11.94 kB / 387.6 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.01327, allocations: 4 kB / 387.6 MB, free: 8.906 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.0001024/0.01337, allocations: 176.6 kB / 387.8 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.01342, allocations: 43.77 kB / 387.8 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.01374, allocations: 232.4 kB / 388.1 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01375, allocations: 4 kB / 388.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01375, allocations: 0 / 388.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.01375, allocations: 0 / 388.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.0144, allocations: 0.7566 MB / 388.8 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.01441, allocations: 0 / 388.8 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.016e-05/0.01449, allocations: 43.98 kB / 388.9 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.01449, allocations: 0 / 388.9 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.01451, allocations: 12 kB / 388.9 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.01451, allocations: 0 / 388.9 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01452, allocations: 4 kB / 388.9 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.01491, allocations: 0.5143 MB / 389.4 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.01494, allocations: 27.77 kB / 389.4 MB, free: 6.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.01498, allocations: 8 kB / 389.4 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.01507, allocations: 11.98 kB / 389.4 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.01512, allocations: 15.97 kB / 389.4 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.01514, allocations: 20 kB / 389.5 MB, free: 6.938 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001972/0.01534, allocations: 271 kB / 389.7 MB, free: 6.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01534, allocations: 0 / 389.7 MB, free: 6.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002932/0.01563, allocations: 51.92 kB / 389.8 MB, free: 6.621 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.001252/0.01689, allocations: 489.2 kB / 390.3 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.01714, allocations: 127.4 kB / 390.4 MB, free: 6.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01714, allocations: 0 / 390.4 MB, free: 6.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.054e-05/0.01723, allocations: 79.52 kB / 390.5 MB, free: 6.078 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.01764, allocations: 70.34 kB / 390.5 MB, free: 6.016 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007687/0.01841, allocations: 0.4899 MB / 391 MB, free: 5.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.926e-05/0.01849, allocations: 104.2 kB / 391.1 MB, free: 5.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.01864, allocations: 41.91 kB / 391.2 MB, free: 5.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.0187, allocations: 32.48 kB / 391.2 MB, free: 5.281 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.0187, allocations: 0 / 391.2 MB, free: 5.281 MB / 362.7 MB Notification: Performance of Templates: time 0.007356/0.02606, allocations: 3.359 MB / 394.6 MB, free: 1.973 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.425335837993771]