Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.001899/0.001899, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.00304/0.00304, allocations: 156.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.628/1.628, allocations: 177 MB / 204.4 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.3616/0.3616, allocations: 34.26 MB / 295.2 MB, free: 0.6367 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.813e-05/2.955e-05, allocations: 2.312 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003288/0.003317, allocations: 1.732 MB / 379 MB, free: 1.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.005856, allocations: 1.001 MB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.875e-05/0.005944, allocations: 4 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.006286, allocations: 39.64 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.006758, allocations: 95.64 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.007058, allocations: 75.69 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.007317, allocations: 111.4 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.007427, allocations: 8 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.007582, allocations: 55.88 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.007686, allocations: 27.86 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.007713, allocations: 4 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.007859, allocations: 47.86 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.007932, allocations: 19.91 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.007991, allocations: 19.92 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.008287, allocations: 111.6 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.00829, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.008292, allocations: 4 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.008302, allocations: 4 kB / 380.6 MB, free: 15.45 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.0007955/0.009098, allocations: 435.6 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.009142, allocations: 12.02 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.737e-05/0.009219, allocations: 16.84 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.009561, allocations: 160.1 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.009577, allocations: 384 / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.009604, allocations: 4.375 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.00979, allocations: 54.23 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.009804, allocations: 192 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.009818, allocations: 8.359 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.009825, allocations: 3.938 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.009927, allocations: 19.98 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.01049, allocations: 287.7 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.01074, allocations: 67.16 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.227e-05/0.01082, allocations: 15.69 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.01084, allocations: 4 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.01106, allocations: 80.91 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.01106, allocations: 0 / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007906/0.01185, allocations: 173.4 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.01191, allocations: 55.34 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.01224, allocations: 234.5 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.01227, allocations: 25.7 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.01241, allocations: 150.9 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.01246, allocations: 31.77 kB / 382.4 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.999e-05/0.01254, allocations: 31.38 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003495/0.01289, allocations: 0.5001 MB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.822e-05/0.01298, allocations: 19.98 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.0131, allocations: 39.36 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.01329, allocations: 71.3 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01329, allocations: 384 / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003066/0.0136, allocations: 105.5 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.01361, allocations: 4 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01362, allocations: 0 / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.01364, allocations: 8 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.01378, allocations: 19.92 kB / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.01378, allocations: 160 / 383.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.01385, allocations: 11.94 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.01386, allocations: 0 / 383.2 MB, free: 12.62 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.0001812/0.01404, allocations: 168.6 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.01409, allocations: 15.88 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.01445, allocations: 118.4 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.01446, allocations: 4 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.01447, allocations: 3.984 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.01447, allocations: 0 / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007261/0.0152, allocations: 405 kB / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.0152, allocations: 0 / 383.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.923e-05/0.01526, allocations: 8 kB / 384 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.01527, allocations: 8.031 kB / 384 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.01529, allocations: 7.984 kB / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.01529, allocations: 0 / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.0153, allocations: 7.938 kB / 384 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.01573, allocations: 263.5 kB / 384.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.01576, allocations: 11.89 kB / 384.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.0158, allocations: 4 kB / 384.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.01592, allocations: 4 kB / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.01598, allocations: 7.984 kB / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.016, allocations: 4 kB / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002038/0.0162, allocations: 176 kB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0162, allocations: 4 kB / 384.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004624/0.01666, allocations: 27.92 kB / 384.5 MB, free: 11.31 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.004614/0.02128, allocations: 477.3 kB / 384.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.02156, allocations: 83.53 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.02156, allocations: 0 / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.02169, allocations: 43.61 kB / 385.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.02224, allocations: 30.12 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006704/0.02291, allocations: 222.3 kB / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.02305, allocations: 89.42 kB / 385.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.706e-05/0.02312, allocations: 25.39 kB / 385.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.02318, allocations: 20.5 kB / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.02319, allocations: 0 / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.007989/0.03117, allocations: 1.853 MB / 387.3 MB, free: 8.613 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2.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.9988842740422115]