Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.0009751/0.0009751, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001496/0.001496, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.075/1.075, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1585/0.1585, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 347.7 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.86e-05, allocations: 16.16 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002353/0.002382, allocations: 1.703 MB / 349.5 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.003432, allocations: 0.7726 MB / 350.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-05/0.003503, allocations: 0 / 350.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.003826, allocations: 51.77 kB / 350.3 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.004053, allocations: 63.69 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.004265, allocations: 83.69 kB / 350.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.004415, allocations: 99.62 kB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.004454, allocations: 4 kB / 350.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.578e-05/0.00454, allocations: 47.78 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.457e-05/0.004615, allocations: 31.91 kB / 350.6 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.004635, allocations: 4 kB / 350.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-05/0.004715, allocations: 31.92 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.004775, allocations: 23.92 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.00483, allocations: 19.92 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.005035, allocations: 99.59 kB / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.005038, allocations: 0 / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005039, allocations: 0 / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.005044, allocations: 0 / 350.8 MB, free: 6.328 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004314/0.005475, allocations: 463.8 kB / 351.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.00552, allocations: 11.97 kB / 351.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.005573, allocations: 20.84 kB / 351.3 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.005734, allocations: 152.4 kB / 351.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.005755, allocations: 4.375 kB / 351.4 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.005766, allocations: 384 / 351.4 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.005908, allocations: 58.94 kB / 351.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.005917, allocations: 3.938 kB / 351.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.005929, allocations: 7.938 kB / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.005937, allocations: 0 / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.713e-05/0.005974, allocations: 11.97 kB / 351.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.006131, allocations: 148.7 kB / 351.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.00624, allocations: 55.05 kB / 351.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.006272, allocations: 19.67 kB / 351.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.006284, allocations: 0 / 351.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.479e-05/0.006379, allocations: 61.06 kB / 351.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.00638, allocations: 0 / 351.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002049/0.006585, allocations: 93.45 kB / 351.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.006615, allocations: 55.41 kB / 351.9 MB, free: 5.031 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.006775, allocations: 269.4 kB / 352.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.006783, allocations: 29.7 kB / 352.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.006831, allocations: 166.9 kB / 352.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.006862, allocations: 11.84 kB / 352.4 MB, free: 4.535 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.0069, allocations: 31.36 kB / 352.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.006967, allocations: 0.5001 MB / 352.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.006988, allocations: 8 kB / 352.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.007019, allocations: 31.34 kB / 353 MB, free: 3.938 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.112e-05/0.00707, allocations: 39.56 kB / 353 MB, free: 3.891 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007073, allocations: 0 / 353 MB, free: 3.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.557e-05/0.007168, allocations: 85.53 kB / 353.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.007181, allocations: 4 kB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.007186, allocations: 3.938 kB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.0072, allocations: 4 kB / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.007265, allocations: 11.98 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.007271, allocations: 0 / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.007305, allocations: 4 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.007311, allocations: 0 / 353.1 MB, free: 3.773 MB / 282.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 (7): * Single equations (assignments): 7 * 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 5.821e-05/0.007369, allocations: 160.6 kB / 353.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.007388, allocations: 19.89 kB / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.007513, allocations: 94.73 kB / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.007516, allocations: 0 / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.007519, allocations: 0 / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.007523, allocations: 0 / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.978e-05/0.007612, allocations: 156.6 kB / 353.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.007613, allocations: 7.938 kB / 353.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.00763, allocations: 4 kB / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007632, allocations: 0 / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.007644, allocations: 0 / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.007646, allocations: 3.938 kB / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.007647, allocations: 0 / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.682e-05/0.007744, allocations: 124.3 kB / 353.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.598e-05/0.00776, allocations: 15.84 kB / 353.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.007778, allocations: 4 kB / 353.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.368e-05/0.007802, allocations: 4.125 kB / 353.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.007834, allocations: 11.98 kB / 353.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.007845, allocations: 0 / 353.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.904e-05/0.007924, allocations: 192.4 kB / 353.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007924, allocations: 0 / 353.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.008131, allocations: 19.94 kB / 353.9 MB, free: 2.895 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008785/0.00901, allocations: 390.9 kB / 354.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.00912, allocations: 39.61 kB / 354.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009121, allocations: 0 / 354.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.779e-05/0.009159, allocations: 27.66 kB / 354.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.009392, allocations: 45.14 kB / 354.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.009745, allocations: 221.8 kB / 354.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.684e-05/0.009782, allocations: 75.33 kB / 354.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.807e-05/0.00982, allocations: 12.48 kB / 354.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.009851, allocations: 12.5 kB / 354.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.009852, allocations: 0 / 354.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of Templates: time 0.004112/0.01396, allocations: 1.759 MB / 356.5 MB, free: 388 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.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.3879222497344017]