Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.001178/0.001178, allocations: 81.86 kB / 21.44 MB, free: 3.055 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.001171/0.001171, allocations: 166.9 kB / 24.84 MB, free: 8.918 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 0.9601/0.9601, allocations: 158.6 MB / 186.7 MB, free: 2.781 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.1429/0.1429, allocations: 32.38 MB / 271.5 MB, free: 14.52 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.806e-05, allocations: 8.281 kB / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003807/0.003835, allocations: 1.726 MB / 350.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.005264, allocations: 0.7842 MB / 351.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.236e-05/0.005356, allocations: 0 / 351.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.005745, allocations: 43.77 kB / 351.5 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.006042, allocations: 51.7 kB / 351.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.006368, allocations: 95.62 kB / 351.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.006577, allocations: 95.7 kB / 351.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.006698, allocations: 8.203 kB / 351.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.006819, allocations: 51.84 kB / 351.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.794e-05/0.006907, allocations: 23.92 kB / 351.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.006928, allocations: 4 kB / 351.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.007032, allocations: 43.91 kB / 351.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.007093, allocations: 27.86 kB / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.045e-05/0.007133, allocations: 19.92 kB / 352 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.007343, allocations: 95.66 kB / 352.1 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.007349, allocations: 4 kB / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.00735, allocations: 0 / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.007355, allocations: 7.938 kB / 352.1 MB, free: 5.988 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005207/0.007876, allocations: 439.9 kB / 352.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.007914, allocations: 8.031 kB / 352.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.007958, allocations: 16.88 kB / 352.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.008097, allocations: 140.4 kB / 352.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.008112, allocations: 8.359 kB / 352.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.008128, allocations: 4.328 kB / 352.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.008244, allocations: 62.94 kB / 352.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.008256, allocations: 11.88 kB / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.008262, allocations: 0 / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.008268, allocations: 0 / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.987e-05/0.008298, allocations: 19.92 kB / 352.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.008508, allocations: 252.5 kB / 353 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.81e-05/0.008597, allocations: 47.16 kB / 353.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.008618, allocations: 23.67 kB / 353.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.00863, allocations: 3.938 kB / 353.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.118e-05/0.008721, allocations: 64.98 kB / 353.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.71e-07/0.008722, allocations: 4 kB / 353.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003522/0.009074, allocations: 141.4 kB / 353.3 MB, free: 4.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.009105, allocations: 51.41 kB / 353.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.009192, allocations: 216 kB / 353.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.009202, allocations: 33.7 kB / 353.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.009242, allocations: 150.8 kB / 353.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.00927, allocations: 19.8 kB / 353.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.009303, allocations: 35.34 kB / 353.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.009363, allocations: 0.4923 MB / 354.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.009379, allocations: 4 kB / 354.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.009404, allocations: 43.34 kB / 354.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.042e-05/0.009445, allocations: 47.3 kB / 354.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.009445, allocations: 0 / 354.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.702e-05/0.009542, allocations: 97.52 kB / 354.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.009556, allocations: 4 kB / 354.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.009562, allocations: 0 / 354.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.009576, allocations: 4 kB / 354.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.009654, allocations: 15.98 kB / 354.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.009658, allocations: 0 / 354.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.009688, allocations: 8.031 kB / 354.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.009694, allocations: 0 / 354.5 MB, free: 3.344 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 (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.525e-05/0.009759, allocations: 164.5 kB / 354.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.009775, allocations: 19.84 kB / 354.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.009909, allocations: 94.44 kB / 354.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.009911, allocations: 0 / 354.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.009914, allocations: 0 / 354.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.009918, allocations: 0 / 354.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.01013, allocations: 369.5 kB / 355.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01014, allocations: 4.406 kB / 355.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.369e-05/0.01016, allocations: 11.94 kB / 355.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01016, allocations: 0 / 355.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.01017, allocations: 12 kB / 355.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01017, allocations: 0 / 355.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01017, allocations: 0 / 355.2 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.01028, allocations: 251.4 kB / 355.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.01029, allocations: 11.94 kB / 355.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.01031, allocations: 4 kB / 355.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.01035, allocations: 4 kB / 355.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.01038, allocations: 7.984 kB / 355.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.01039, allocations: 8 kB / 355.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.174e-05/0.01045, allocations: 160 kB / 355.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01045, allocations: 0 / 355.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.01063, allocations: 23.94 kB / 355.6 MB, free: 2.145 MB / 282.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.0009018/0.01153, allocations: 431.5 kB / 356 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.271e-05/0.01163, allocations: 59.52 kB / 356.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01163, allocations: 0 / 356.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.092e-05/0.01166, allocations: 31.73 kB / 356.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.01188, allocations: 39.81 kB / 356.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.01213, allocations: 217.4 kB / 356.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.833e-05/0.01216, allocations: 67.34 kB / 356.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.229e-05/0.01219, allocations: 12.48 kB / 356.5 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.01224, allocations: 86.19 kB / 356.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01224, allocations: 0 / 356.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of Templates: time 0.003287/0.01553, allocations: 2.035 MB / 358.6 MB, free: 15.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.273368513211608]