Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.00196/0.00196, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002087/0.002087, allocations: 164.8 kB / 24.27 MB, free: 152 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.572/1.572, allocations: 177 MB / 204.5 MB, free: 5.641 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.436/0.436, allocations: 34.25 MB / 295.2 MB, free: 0.6484 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 377.3 MB, free: 2.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.329e-05/4.547e-05, allocations: 9.406 kB / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003888/0.003933, allocations: 1.743 MB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003483/0.007416, allocations: 1.706 MB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.007509, allocations: 0 / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.0079, allocations: 39.66 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004626/0.008363, allocations: 111.5 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.008636, allocations: 75.62 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.008878, allocations: 107.6 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.144e-05/0.008969, allocations: 8 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.009113, allocations: 63.77 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.009276, allocations: 31.89 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.009302, allocations: 4 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.009521, allocations: 103.9 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.919e-05/0.009591, allocations: 19.91 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.009649, allocations: 23.92 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.01004, allocations: 183.3 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.01005, allocations: 4 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01005, allocations: 0 / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.01005, allocations: 0 / 381.5 MB, free: 14.6 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.0007773/0.01083, allocations: 451.5 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.01087, allocations: 8.031 kB / 382 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.281e-05/0.01095, allocations: 16.83 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.01132, allocations: 156.9 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.01135, allocations: 4.375 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.01138, allocations: 4.375 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.01162, allocations: 103.3 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.01163, allocations: 3.938 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.01165, allocations: 3.984 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.01165, allocations: 0 / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.436e-05/0.01174, allocations: 19.94 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.0123, allocations: 287.8 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.01255, allocations: 67.16 kB / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.01263, allocations: 23.62 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.01265, allocations: 3.984 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.01285, allocations: 76.97 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.01285, allocations: 4 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006678/0.01352, allocations: 173.3 kB / 382.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.0136, allocations: 77.11 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.01386, allocations: 241.6 kB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.01389, allocations: 29.7 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.01402, allocations: 142.9 kB / 383.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/0.01406, allocations: 27.78 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.272e-05/0.01413, allocations: 31.38 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002963/0.01443, allocations: 0.5001 MB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.418e-05/0.01449, allocations: 19.98 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.0146, allocations: 80.75 kB / 384 MB, free: 11.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.01476, allocations: 75.59 kB / 384.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01476, allocations: 0 / 384.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002585/0.01502, allocations: 101.5 kB / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.01504, allocations: 4 kB / 384.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.01505, allocations: 8 kB / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.01507, allocations: 0 / 384.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.01518, allocations: 19.98 kB / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.01519, allocations: 160 / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.01526, allocations: 4.062 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.01528, allocations: 11.98 kB / 384.2 MB, free: 11.61 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.0001785/0.01545, allocations: 168.5 kB / 384.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.01551, allocations: 15.95 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.01582, allocations: 114.4 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01582, allocations: 0 / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01582, allocations: 0 / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/0.01584, allocations: 3.984 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005958/0.01644, allocations: 409 kB / 384.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01644, allocations: 0 / 384.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.01649, allocations: 23.95 kB / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01649, allocations: 0 / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.0165, allocations: 0 / 385 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.0165, allocations: 4 kB / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01651, allocations: 0 / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.0169, allocations: 271.4 kB / 385.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.01692, allocations: 7.953 kB / 385.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.01696, allocations: 7.984 kB / 385.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.01703, allocations: 4 kB / 385.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.01708, allocations: 7.984 kB / 385.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.0171, allocations: 4 kB / 385.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.01726, allocations: 175.1 kB / 385.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01726, allocations: 0 / 385.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003329/0.01759, allocations: 51.86 kB / 385.5 MB, free: 10.28 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.003954/0.02154, allocations: 0.5752 MB / 386.1 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.02181, allocations: 75.59 kB / 386.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.02181, allocations: 0 / 386.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.02191, allocations: 43.55 kB / 386.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.0223, allocations: 27.98 kB / 386.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/0.02296, allocations: 221.9 kB / 386.4 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.02307, allocations: 85.44 kB / 386.5 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.464e-05/0.02315, allocations: 17.41 kB / 386.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.02321, allocations: 20.5 kB / 386.5 MB, free: 9.363 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02321, allocations: 0 / 386.5 MB, free: 9.363 MB / 362.7 MB Notification: Performance of Templates: time 0.007302/0.03051, allocations: 2.538 MB / 389.1 MB, free: 6.848 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.173622724949382]