Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001973/0.001973, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002078/0.002078, allocations: 164.8 kB / 24.27 MB, free: 156 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.603/1.603, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3999/0.3999, allocations: 34.26 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.275e-05, allocations: 2.312 kB / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003572/0.003605, allocations: 1.74 MB / 379 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.00561, allocations: 0.997 MB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.005668, allocations: 0 / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.005954, allocations: 67.61 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.006282, allocations: 91.55 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.00649, allocations: 79.66 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.006682, allocations: 119.5 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.803e-05/0.00675, allocations: 4 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.006856, allocations: 47.91 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.139e-05/0.006947, allocations: 39.77 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.006968, allocations: 4 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.007068, allocations: 43.92 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.874e-05/0.007127, allocations: 27.92 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.007177, allocations: 23.86 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.007414, allocations: 127.6 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.007418, allocations: 0 / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007419, allocations: 0 / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.007423, allocations: 0 / 380.7 MB, free: 15.4 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006389/0.008062, allocations: 487.2 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.008095, allocations: 19.97 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.304e-05/0.008148, allocations: 16.84 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.008387, allocations: 161.3 kB / 381.4 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.0084, allocations: 4.375 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.008418, allocations: 4.375 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.008544, allocations: 50.23 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.008553, allocations: 192 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.00856, allocations: 384 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.008566, allocations: 3.938 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.959e-05/0.008636, allocations: 15.98 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.009047, allocations: 323.7 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.009216, allocations: 63.17 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.741e-05/0.009274, allocations: 23.67 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.009283, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.009428, allocations: 76.92 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.009429, allocations: 0 / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005193/0.009948, allocations: 193.2 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.009996, allocations: 55.41 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/0.01043, allocations: 293.6 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.01046, allocations: 29.7 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.01059, allocations: 174.9 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.01062, allocations: 27.78 kB / 382.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.01067, allocations: 27.38 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002858/0.01096, allocations: 0.5118 MB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.01102, allocations: 23.92 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.667e-05/0.01109, allocations: 39.36 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.01122, allocations: 67.3 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.01122, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002099/0.01143, allocations: 105.9 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.01144, allocations: 12.03 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.01144, allocations: 0 / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.01145, allocations: 3.938 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.166e-05/0.01153, allocations: 19.98 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01154, allocations: 4.156 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.026e-05/0.01158, allocations: 0 / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.01159, allocations: 11.98 kB / 383.5 MB, free: 12.38 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 (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.0001325/0.01173, allocations: 163.2 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.01176, allocations: 23.83 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.01204, allocations: 127 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01204, allocations: 4 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01204, allocations: 0 / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.01205, allocations: 0 / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.01262, allocations: 436.9 kB / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01262, allocations: 0 / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.78e-05/0.01267, allocations: 12 kB / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01267, allocations: 0 / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.01268, allocations: 0 / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01268, allocations: 3.938 kB / 384.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.01269, allocations: 7.984 kB / 384.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.01301, allocations: 279.4 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.01304, allocations: 11.91 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.01306, allocations: 0 / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.01314, allocations: 8 kB / 384.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.01318, allocations: 7.984 kB / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.0132, allocations: 0 / 384.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001952/0.01339, allocations: 208.5 kB / 384.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01339, allocations: 0 / 384.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002702/0.01366, allocations: 27.92 kB / 384.8 MB, free: 11 MB / 362.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.003417/0.01708, allocations: 490.4 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.0173, allocations: 79.52 kB / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01731, allocations: 0 / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.01741, allocations: 39.61 kB / 385.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.01779, allocations: 34.3 kB / 385.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.01839, allocations: 270.4 kB / 385.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.01853, allocations: 108.9 kB / 385.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.654e-05/0.01858, allocations: 21.27 kB / 385.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.01862, allocations: 16.5 kB / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01862, allocations: 0 / 385.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.005845/0.02447, allocations: 1.882 MB / 387.7 MB, free: 8.207 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.053934845025651]