Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.0009691/0.0009691, allocations: 95.31 kB / 20.43 MB, free: 4.148 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.0009783/0.0009783, allocations: 165 kB / 23.79 MB, free: 0.7852 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.8235/0.8235, allocations: 158.6 MB / 185.6 MB, free: 2.902 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.1329/0.1329, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.655e-05, allocations: 2.312 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002697/0.002733, allocations: 1.73 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.004378, allocations: 1.528 MB / 351 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.00446, allocations: 0 / 351 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.004801, allocations: 35.78 kB / 351 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.005048, allocations: 59.69 kB / 351.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.005234, allocations: 87.69 kB / 351.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.005386, allocations: 99.64 kB / 351.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.005488, allocations: 16.22 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.25e-05/0.00556, allocations: 47.83 kB / 351.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.191e-05/0.005652, allocations: 31.91 kB / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.00567, allocations: 8 kB / 351.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.309e-05/0.005763, allocations: 59.84 kB / 351.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.005809, allocations: 23.91 kB / 351.5 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.005845, allocations: 15.94 kB / 351.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.006032, allocations: 111.6 kB / 351.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006034, allocations: 3.938 kB / 351.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006035, allocations: 0 / 351.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.006042, allocations: 0 / 351.6 MB, free: 5.488 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.0004462/0.006488, allocations: 436 kB / 352 MB, free: 5.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.006527, allocations: 11.97 kB / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.006582, allocations: 16.89 kB / 352.1 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.00677, allocations: 140.5 kB / 352.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.006797, allocations: 4.375 kB / 352.2 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.006826, allocations: 384 / 352.2 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.007034, allocations: 112 kB / 352.3 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.007049, allocations: 3.938 kB / 352.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.007062, allocations: 0 / 352.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.007072, allocations: 0 / 352.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.007115, allocations: 19.92 kB / 352.3 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.007487, allocations: 275.8 kB / 352.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.007616, allocations: 51.17 kB / 352.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/0.007647, allocations: 19.62 kB / 352.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.007662, allocations: 0 / 352.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001093/0.007772, allocations: 72.98 kB / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.007773, allocations: 0 / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004602/0.008234, allocations: 165.5 kB / 352.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.008266, allocations: 85.05 kB / 353 MB, free: 3.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.00837, allocations: 205 kB / 353.2 MB, free: 3.715 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.008381, allocations: 29.7 kB / 353.2 MB, free: 3.68 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.008416, allocations: 138.9 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.008449, allocations: 27.78 kB / 353.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.008491, allocations: 27.38 kB / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.008547, allocations: 0.4923 MB / 353.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.008579, allocations: 11.98 kB / 353.9 MB, free: 2.961 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.463e-05/0.008624, allocations: 68.75 kB / 354 MB, free: 2.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.365e-05/0.008687, allocations: 59.23 kB / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.008689, allocations: 4.031 kB / 354 MB, free: 2.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001228/0.008812, allocations: 89.53 kB / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.00883, allocations: 8 kB / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.008836, allocations: 0 / 354.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.008852, allocations: 7.969 kB / 354.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.008934, allocations: 12 kB / 354.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.008939, allocations: 4 kB / 354.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.607e-05/0.008975, allocations: 0 / 354.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.008983, allocations: 4 kB / 354.2 MB, free: 2.676 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 5.843e-05/0.009041, allocations: 174.8 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.00906, allocations: 11.95 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.009219, allocations: 102.5 kB / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.009222, allocations: 3.984 kB / 354.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.009226, allocations: 0 / 354.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.009231, allocations: 4 kB / 354.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.009502, allocations: 385 kB / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.009504, allocations: 0 / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.009538, allocations: 11.94 kB / 354.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.009542, allocations: 0 / 354.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.009551, allocations: 8.031 kB / 354.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.009553, allocations: 0 / 354.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.009555, allocations: 0 / 354.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.009685, allocations: 259.4 kB / 355.1 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.009698, allocations: 11.94 kB / 355.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.009718, allocations: 4 kB / 355.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.009785, allocations: 4 kB / 355.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.009818, allocations: 11.92 kB / 355.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.009833, allocations: 8 kB / 355.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.134e-05/0.009885, allocations: 158.2 kB / 355.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009885, allocations: 4 kB / 355.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.01015, allocations: 27.94 kB / 355.3 MB, free: 1.43 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.004147/0.01429, allocations: 490 kB / 355.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.01445, allocations: 51.59 kB / 355.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.01445, allocations: 4 kB / 355.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.407e-05/0.0145, allocations: 39.67 kB / 355.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/0.01782, allocations: 39.83 kB / 355.9 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.01819, allocations: 193.1 kB / 356.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.218e-05/0.01822, allocations: 67.25 kB / 356.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.654e-05/0.01827, allocations: 12.48 kB / 356.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.01831, allocations: 16.5 kB / 356.2 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01831, allocations: 4.062 kB / 356.2 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of Templates: time 0.008003/0.02631, allocations: 2.295 MB / 358.5 MB, free: 14.28 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.262403825763613]