Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009954/0.0009954, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3002/0.3002, allocations: 32.8 MB / 294.3 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 376.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.436e-05, allocations: 2.312 kB / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.005625/0.00565, allocations: 1.769 MB / 377.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.007035, allocations: 1.013 MB / 378.9 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.01012, allocations: 3.938 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.0104, allocations: 31.78 kB / 378.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.01069, allocations: 103.5 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.01087, allocations: 83.66 kB / 379.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.01103, allocations: 111.5 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.962e-05/0.01112, allocations: 8 kB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.01121, allocations: 51.84 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.01128, allocations: 31.89 kB / 379.3 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.0113, allocations: 4 kB / 379.3 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.01139, allocations: 43.92 kB / 379.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.01144, allocations: 19.92 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.01148, allocations: 19.92 kB / 379.4 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.01166, allocations: 107.5 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01166, allocations: 0 / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01166, allocations: 4 kB / 379.5 MB, free: 1.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.01166, allocations: 0 / 379.5 MB, free: 1.145 MB / 346.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.0004622/0.01212, allocations: 451.8 kB / 379.9 MB, free: 0.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.01216, allocations: 8.031 kB / 380 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.0122, allocations: 16.89 kB / 380 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.01238, allocations: 164.8 kB / 380.1 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.0124, allocations: 4.375 kB / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.01242, allocations: 384 / 380.1 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.01253, allocations: 62.94 kB / 380.2 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.01255, allocations: 3.938 kB / 380.2 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.01255, allocations: 4 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.01256, allocations: 0 / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.736e-05/0.0126, allocations: 19.92 kB / 380.2 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.01289, allocations: 283.8 kB / 380.5 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003141/0.01603, allocations: 55.17 kB / 380.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.01606, allocations: 19.56 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.01608, allocations: 0 / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.01619, allocations: 69.05 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.01619, allocations: 4 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000411/0.0166, allocations: 161.3 kB / 380.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.01663, allocations: 51.41 kB / 380.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.01679, allocations: 233.9 kB / 381.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.01681, allocations: 29.7 kB / 381.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.01687, allocations: 158.8 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.01689, allocations: 27.73 kB / 381.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.01693, allocations: 31.36 kB / 381.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.01704, allocations: 0.4962 MB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.01707, allocations: 8 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.319e-05/0.0171, allocations: 39.36 kB / 381.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.464e-05/0.01715, allocations: 55.28 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.01715, allocations: 0 / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.49e-05/0.01725, allocations: 89.58 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.01726, allocations: 8 kB / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.01726, allocations: 384 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.01728, allocations: 0 / 382 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.615e-05/0.01734, allocations: 19.92 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01735, allocations: 4 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.01738, allocations: 15.97 kB / 382.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.01739, allocations: 4 kB / 382.1 MB, free: 14.36 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 6.309e-05/0.01745, allocations: 164.5 kB / 382.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.01746, allocations: 7.953 kB / 382.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.0176, allocations: 111.2 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.0176, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.0176, allocations: 4 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.0176, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.01794, allocations: 400.9 kB / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01794, allocations: 0 / 382.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.01796, allocations: 12.03 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.01796, allocations: 7.938 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.01797, allocations: 0 / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01797, allocations: 0 / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01797, allocations: 4 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.0181, allocations: 255.4 kB / 383 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.01811, allocations: 19.89 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.01813, allocations: 0 / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.814e-05/0.01816, allocations: 4 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.01819, allocations: 3.984 kB / 383 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.0182, allocations: 15.94 kB / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.176e-05/0.01828, allocations: 180.1 kB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01828, allocations: 0 / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001631/0.01844, allocations: 27.92 kB / 383.2 MB, free: 13.09 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.0008455/0.01928, allocations: 432 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.0194, allocations: 51.59 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.0194, allocations: 4 kB / 383.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.889e-05/0.01944, allocations: 31.67 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.01966, allocations: 28.09 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.01999, allocations: 233.8 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.928e-05/0.02002, allocations: 71.33 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.02006, allocations: 17.27 kB / 384.1 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.02009, allocations: 20.5 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02009, allocations: 0 / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of Templates: time 0.003582/0.02367, allocations: 1.871 MB / 386 MB, free: 10.46 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.2995020137168467]