Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001346/0.001346, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001801/0.001801, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 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.039/1.039, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3158/0.3158, allocations: 34.26 MB / 296 MB, free: 0.7773 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 378.1 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.511e-05, allocations: 6.312 kB / 378.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003044/0.00307, allocations: 1.766 MB / 379.9 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.005582, allocations: 1.726 MB / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.005689, allocations: 3.938 kB / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.006006, allocations: 27.83 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.006469, allocations: 119.3 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.006709, allocations: 75.61 kB / 381.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.006891, allocations: 111.7 kB / 381.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.006993, allocations: 4 kB / 381.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.822e-05/0.007091, allocations: 67.75 kB / 382 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.0072, allocations: 27.91 kB / 382 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.007219, allocations: 8 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.00736, allocations: 99.81 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.007412, allocations: 27.84 kB / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.00745, allocations: 15.94 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.007678, allocations: 167.5 kB / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.007681, allocations: 0 / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.007681, allocations: 0 / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.007686, allocations: 0 / 382.3 MB, free: 14.65 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.0004805/0.008166, allocations: 451.8 kB / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.00821, allocations: 8.031 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.008266, allocations: 12.89 kB / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.008458, allocations: 153 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.008477, allocations: 384 / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.008497, allocations: 4.375 kB / 383 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.008656, allocations: 123.3 kB / 383.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.008669, allocations: 3.953 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.008681, allocations: 0 / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.008689, allocations: 0 / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.302e-05/0.008732, allocations: 11.98 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.009041, allocations: 283.8 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.009152, allocations: 55.11 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.009183, allocations: 15.69 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.009195, allocations: 4 kB / 383.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.009296, allocations: 73.05 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.365e-06/0.009298, allocations: 3.984 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003942/0.009692, allocations: 153.3 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.009753, allocations: 81.11 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.009892, allocations: 220 kB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.009904, allocations: 25.7 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.009963, allocations: 146.9 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.009989, allocations: 23.78 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.01002, allocations: 39.3 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.01014, allocations: 0.5 MB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.01016, allocations: 8 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-05/0.01021, allocations: 72.69 kB / 384.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.686e-05/0.01026, allocations: 55.42 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01026, allocations: 0 / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001039/0.01037, allocations: 89.53 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.01038, allocations: 9.875 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01039, allocations: 0 / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.0104, allocations: 0 / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.01047, allocations: 23.98 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01048, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.01051, allocations: 4 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.01052, allocations: 8 kB / 385 MB, free: 11.78 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 7.011e-05/0.01059, allocations: 163.9 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.0106, allocations: 11.95 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.01075, allocations: 106.4 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01075, allocations: 0 / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.01075, allocations: 0 / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01075, allocations: 0 / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.01107, allocations: 400.9 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01107, allocations: 0 / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.544e-05/0.0111, allocations: 8 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.0111, allocations: 4 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.01111, allocations: 0 / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01111, allocations: 0 / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01111, allocations: 384 / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.01125, allocations: 255.4 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.01126, allocations: 15.94 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.01129, allocations: 8 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.38e-05/0.01134, allocations: 4.031 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.01138, allocations: 11.92 kB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.01139, allocations: 8 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.825e-05/0.01146, allocations: 161.9 kB / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01146, allocations: 0 / 386.1 MB, free: 10.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002008/0.01166, allocations: 51.86 kB / 386.1 MB, free: 10.51 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.001159/0.01282, allocations: 0.5374 MB / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001333/0.01295, allocations: 59.58 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01295, allocations: 0 / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.013, allocations: 35.73 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.01322, allocations: 33.5 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.01357, allocations: 209.8 kB / 387 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.734e-05/0.01361, allocations: 63.34 kB / 387.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.049e-05/0.01365, allocations: 21.27 kB / 387.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.01369, allocations: 20.48 kB / 387.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01369, allocations: 64 / 387.1 MB, free: 9.676 MB / 362.7 MB Notification: Performance of Templates: time 0.004542/0.01824, allocations: 2.533 MB / 389.6 MB, free: 7.172 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.5063845179975033]