Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.001852/0.001852, allocations: 91.61 kB / 20.96 MB, free: 3.438 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.001931/0.001931, allocations: 156.9 kB / 24.27 MB, free: 140 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.594/1.594, allocations: 177 MB / 204.5 MB, free: 5.637 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.3572/0.3572, allocations: 34.26 MB / 295.2 MB, free: 0.6406 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.591e-05, allocations: 8.703 kB / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003598/0.003634, allocations: 1.692 MB / 379 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.005735, allocations: 0.9892 MB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.005805, allocations: 0 / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.00617, allocations: 47.75 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.006547, allocations: 111.6 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.006746, allocations: 75.66 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.006957, allocations: 103.5 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.007001, allocations: 8.172 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.007123, allocations: 51.81 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.629e-05/0.007209, allocations: 23.92 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.007232, allocations: 4 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.176e-05/0.007323, allocations: 31.98 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.007399, allocations: 31.84 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.007448, allocations: 19.94 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.007701, allocations: 127.5 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.007705, allocations: 0 / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007707, allocations: 0 / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.007713, allocations: 0 / 380.6 MB, free: 15.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007426/0.008456, allocations: 471.4 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.008497, allocations: 8.031 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.008562, allocations: 16.84 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.00885, allocations: 165.3 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.008864, allocations: 384 / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.008877, allocations: 4.375 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.009018, allocations: 54.17 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.009027, allocations: 192 / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.009036, allocations: 384 / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.009045, allocations: 7.938 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.064e-05/0.009126, allocations: 11.98 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.009385, allocations: 168.6 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.009572, allocations: 59.08 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.17e-05/0.009634, allocations: 27.56 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.009652, allocations: 0 / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.009824, allocations: 73.05 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.009826, allocations: 4 kB / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003103/0.01014, allocations: 93.58 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.01019, allocations: 59.28 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.01053, allocations: 297.6 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.01055, allocations: 25.7 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.0107, allocations: 170.9 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.01073, allocations: 15.91 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.01078, allocations: 23.38 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006159/0.0114, allocations: 0.5118 MB / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/0.01145, allocations: 16 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.01152, allocations: 31.36 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.01163, allocations: 47.38 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01163, allocations: 0 / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000178/0.01181, allocations: 85.78 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.01183, allocations: 7.984 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01184, allocations: 64 / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.01186, allocations: 8 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.821e-05/0.01195, allocations: 11.94 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.01196, allocations: 3.938 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.012, allocations: 8.031 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.01201, allocations: 0 / 383 MB, free: 12.82 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 (7): * Single equations (assignments): 7 * 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.0001488/0.01216, allocations: 164.6 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.01219, allocations: 15.91 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.01242, allocations: 90.83 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01243, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.01243, allocations: 3.938 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01244, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.01268, allocations: 176.5 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01268, allocations: 0 / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.01271, allocations: 15.94 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01271, allocations: 0 / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.01273, allocations: 3.984 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01273, allocations: 0 / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01273, allocations: 3.938 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.01298, allocations: 132.2 kB / 383.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.013, allocations: 11.94 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.01303, allocations: 4 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.461e-05/0.01306, allocations: 0 / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.01311, allocations: 15.92 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.01313, allocations: 0 / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002139/0.01334, allocations: 208.5 kB / 383.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01334, allocations: 0 / 383.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.01357, allocations: 16 kB / 383.9 MB, free: 11.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002946/0.01651, allocations: 429.3 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.0167, allocations: 51.64 kB / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0167, allocations: 0 / 384.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/0.01677, allocations: 27.62 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.01706, allocations: 39.86 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.01765, allocations: 250.6 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.01777, allocations: 105.7 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.571e-05/0.01781, allocations: 12.75 kB / 384.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.01786, allocations: 20.44 kB / 384.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01786, allocations: 0 / 384.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of Templates: time 0.005638/0.02349, allocations: 1.661 MB / 386.5 MB, free: 9.438 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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: 4.919026466086507]