Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.001044/0.001044, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001072/0.001072, allocations: 165.9 kB / 24.91 MB, free: 8.773 MB / 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 0.9872/0.9872, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] 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.2961/0.2961, allocations: 34.85 MB / 296.6 MB, free: 400 kB / 266.7 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 326 MB, free: 6.996 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.526e-05, allocations: 4.844 kB / 326.1 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.008962/0.008987, allocations: 1.806 MB / 327.9 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005236/0.01422, allocations: 1.734 MB / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.242e-05/0.01431, allocations: 0 / 329.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.01458, allocations: 43.7 kB / 329.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.01491, allocations: 91.48 kB / 329.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.0151, allocations: 79.59 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.01526, allocations: 120.4 kB / 329.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.848e-05/0.01534, allocations: 7.984 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.801e-05/0.01544, allocations: 63.77 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.01554, allocations: 35.89 kB / 330 MB, free: 3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.01556, allocations: 4 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.01574, allocations: 107.8 kB / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.01578, allocations: 19.92 kB / 330.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.01582, allocations: 23.91 kB / 330.2 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.01605, allocations: 159.4 kB / 330.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01605, allocations: 0 / 330.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.01606, allocations: 4 kB / 330.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.01606, allocations: 0 / 330.3 MB, free: 2.688 MB / 298.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.0003823/0.01644, allocations: 333.4 kB / 330.7 MB, free: 2.336 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.01647, allocations: 12.03 kB / 330.7 MB, free: 2.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.01651, allocations: 12.86 kB / 330.7 MB, free: 2.312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.01667, allocations: 138.2 kB / 330.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.01669, allocations: 384 / 330.8 MB, free: 2.152 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.0167, allocations: 4.375 kB / 330.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.01683, allocations: 105.2 kB / 330.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.01684, allocations: 3.938 kB / 330.9 MB, free: 2.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.01685, allocations: 4 kB / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.01685, allocations: 0 / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.825e-05/0.01688, allocations: 18.77 kB / 331 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.02014, allocations: 169.9 kB / 331.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.696e-05/0.02023, allocations: 85.28 kB / 331.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.02026, allocations: 16.84 kB / 331.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.02027, allocations: 0 / 331.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.616e-05/0.02036, allocations: 66.16 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.02037, allocations: 3.938 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003028/0.02067, allocations: 109.6 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.02071, allocations: 81.05 kB / 331.5 MB, free: 1.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.02083, allocations: 160.7 kB / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.02084, allocations: 29.7 kB / 331.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.02088, allocations: 88.12 kB / 331.7 MB, free: 1.109 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.02091, allocations: 35.72 kB / 331.8 MB, free: 1.074 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.02095, allocations: 21.72 kB / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.02103, allocations: 322.8 kB / 332.1 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.02105, allocations: 14.81 kB / 332.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.564e-05/0.02109, allocations: 52.28 kB / 332.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.262e-05/0.02115, allocations: 52.47 kB / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.02115, allocations: 0 / 332.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.227e-05/0.02124, allocations: 72.44 kB / 332.3 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.02125, allocations: 9.25 kB / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.02126, allocations: 0 / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.02127, allocations: 0 / 332.3 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.02134, allocations: 15.94 kB / 332.3 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.02134, allocations: 4 kB / 332.3 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.02138, allocations: 7.922 kB / 332.3 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.02138, allocations: 8.031 kB / 332.3 MB, free: 472 kB / 298.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 6.61e-05/0.02145, allocations: 116.7 kB / 332.5 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.02147, allocations: 11.92 kB / 332.5 MB, free: 332 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.02157, allocations: 74.39 kB / 332.5 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.02157, allocations: 0 / 332.5 MB, free: 252 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.02158, allocations: 4 kB / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.02158, allocations: 3.984 kB / 332.6 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.02184, allocations: 299.5 kB / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02185, allocations: 0 / 332.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.02188, allocations: 16.03 kB / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.02188, allocations: 0 / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.02189, allocations: 0 / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.02189, allocations: 0 / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.02189, allocations: 4 kB / 332.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.02202, allocations: 215 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.02203, allocations: 11.95 kB / 333.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.02205, allocations: 0 / 333.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.1e-05/0.02211, allocations: 4 kB / 333.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.02214, allocations: 7.984 kB / 333.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.02215, allocations: 8 kB / 333.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.934e-05/0.0222, allocations: 45.06 kB / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0222, allocations: 0 / 333.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.02245, allocations: 55.8 kB / 333.2 MB, free: 15.54 MB / 314.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.004807/0.02726, allocations: 0.6891 MB / 333.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.02737, allocations: 44.77 kB / 333.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.02737, allocations: 4 kB / 333.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.476e-05/0.02741, allocations: 20.84 kB / 334 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.02764, allocations: 41.36 kB / 334 MB, free: 15.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003441/0.02798, allocations: 200 kB / 334.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.532e-05/0.02803, allocations: 67.33 kB / 334.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.205e-05/0.02808, allocations: 25.41 kB / 334.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.935e-05/0.02817, allocations: 71.36 kB / 334.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02817, allocations: 0 / 334.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of Templates: time 0.009923/0.03809, allocations: 2.765 MB / 337.1 MB, free: 11.92 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0257744919508696]