Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001656/0.001656, allocations: 89.3 kB / 20.69 MB, free: 1.02 MB / 14.72 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.002761/0.002761, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 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.57/1.57, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.1 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.2474/0.2474, allocations: 34.27 MB / 294.8 MB, free: 14.51 MB / 286.1 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 442.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.878e-05/4.059e-05, allocations: 2.281 kB / 442.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.004643/0.004684, allocations: 1.712 MB / 444.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.007516, allocations: 0.9836 MB / 445.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.007626, allocations: 0 / 445.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.008041, allocations: 35.77 kB / 445.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004698/0.00851, allocations: 103.5 kB / 445.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.008823, allocations: 79.61 kB / 445.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.009111, allocations: 115.5 kB / 445.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.009252, allocations: 12 kB / 445.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.00942, allocations: 51.84 kB / 445.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.009553, allocations: 31.89 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.009587, allocations: 4 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.009739, allocations: 43.92 kB / 445.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.978e-05/0.009829, allocations: 23.91 kB / 445.9 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.009895, allocations: 15.94 kB / 445.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.01025, allocations: 127.5 kB / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.01026, allocations: 0 / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.01026, allocations: 0 / 446.1 MB, free: 1.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.01027, allocations: 0 / 446.1 MB, free: 1.852 MB / 366.1 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.0008182/0.01108, allocations: 349.6 kB / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.01113, allocations: 8.031 kB / 446.4 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.01119, allocations: 12.89 kB / 446.4 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.01155, allocations: 161.5 kB / 446.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.01157, allocations: 4.375 kB / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.01159, allocations: 384 / 446.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.01181, allocations: 62.17 kB / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.01182, allocations: 192 / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.01184, allocations: 4.359 kB / 446.7 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.01185, allocations: 3.938 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.01196, allocations: 23.98 kB / 446.7 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.01243, allocations: 228.6 kB / 446.9 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.0127, allocations: 62.62 kB / 447 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.166e-05/0.01279, allocations: 20.84 kB / 447 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.01281, allocations: 0 / 447 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.01302, allocations: 75.27 kB / 447.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.923e-06/0.01303, allocations: 0 / 447.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008647/0.01389, allocations: 193.3 kB / 447.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.01395, allocations: 59.41 kB / 447.3 MB, free: 488 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.01428, allocations: 206.4 kB / 447.5 MB, free: 272 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.01431, allocations: 29.7 kB / 447.5 MB, free: 236 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.785e-05/0.01441, allocations: 104.1 kB / 447.6 MB, free: 128 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/0.01446, allocations: 27.78 kB / 447.7 MB, free: 100 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.01452, allocations: 25.72 kB / 447.7 MB, free: 68 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.267/0.2815, allocations: 322.8 kB / 448 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.2817, allocations: 18.33 kB / 448 MB, free: 18.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.647e-05/0.2818, allocations: 47.12 kB / 448.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.2819, allocations: 61.14 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2819, allocations: 0 / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002607/0.2822, allocations: 107.6 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.2822, allocations: 4.469 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2822, allocations: 1.094 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.2823, allocations: 1.156 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.2824, allocations: 18.55 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2824, allocations: 5.734 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.312e-05/0.2824, allocations: 5.828 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.2825, allocations: 2.688 kB / 448.3 MB, free: 18.86 MB / 366.1 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.0001117/0.2826, allocations: 125.6 kB / 448.4 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.2826, allocations: 13.98 kB / 448.4 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/0.2829, allocations: 126.6 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2829, allocations: 1.609 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2829, allocations: 5.062 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2829, allocations: 0.6094 kB / 448.5 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.2833, allocations: 348.7 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2833, allocations: 4.438 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/0.2834, allocations: 10.84 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2834, allocations: 1.031 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.2834, allocations: 10.56 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2834, allocations: 1.734 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.2834, allocations: 1.156 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.2836, allocations: 215.9 kB / 449.1 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.2836, allocations: 11.88 kB / 449.1 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.2837, allocations: 10.38 kB / 449.2 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.2837, allocations: 5.719 kB / 449.2 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.2838, allocations: 6.484 kB / 449.2 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.2838, allocations: 8.609 kB / 449.2 MB, free: 18.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.284, allocations: 159.9 kB / 449.3 MB, free: 18.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.284, allocations: 1.25 kB / 449.3 MB, free: 18.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.2843, allocations: 26.05 kB / 449.4 MB, free: 18.25 MB / 366.1 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.001973/0.2862, allocations: 491 kB / 449.8 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.2864, allocations: 57.16 kB / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2864, allocations: 0 / 449.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.575e-05/0.2865, allocations: 33.7 kB / 449.9 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.2869, allocations: 33.44 kB / 450 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.2874, allocations: 250.7 kB / 450.2 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.2875, allocations: 95.8 kB / 450.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.2876, allocations: 20.91 kB / 450.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.2877, allocations: 22.28 kB / 450.3 MB, free: 17.79 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2877, allocations: 0 / 450.3 MB, free: 17.79 MB / 366.1 MB Notification: Performance of Templates: time 0.00613/0.2938, allocations: 1.842 MB / 452.2 MB, free: 17.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.2227817587554455]