Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.002078/0.002078, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002986/0.002986, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.578/1.578, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.2449/0.2449, allocations: 32.37 MB / 270 MB, free: 14.88 MB / 266.7 MB " [Timeout remaining time 179] 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.725e-05, allocations: 2.312 kB / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00407/0.004108, allocations: 1.808 MB / 348.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.006166, allocations: 0.8622 MB / 349.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.006363, allocations: 3.938 kB / 349.7 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006858/0.007049, allocations: 223.3 kB / 349.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005677/0.007617, allocations: 175.3 kB / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.008218, allocations: 143.6 kB / 350.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005056/0.008724, allocations: 235.3 kB / 350.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.008872, allocations: 13.8 kB / 350.5 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.009244, allocations: 139.6 kB / 350.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.009516, allocations: 143.7 kB / 350.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/0.009562, allocations: 8 kB / 350.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.009734, allocations: 51.91 kB / 350.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.009843, allocations: 55.72 kB / 350.9 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.009948, allocations: 39.84 kB / 350.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.0104, allocations: 215.2 kB / 351.1 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.01041, allocations: 0 / 351.1 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01041, allocations: 0 / 351.1 MB, free: 5.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.01042, allocations: 0 / 351.1 MB, free: 5.625 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000936/0.01136, allocations: 488.4 kB / 351.6 MB, free: 5.117 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.01141, allocations: 12.03 kB / 351.6 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.01155, allocations: 28.75 kB / 351.6 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.01203, allocations: 221.8 kB / 351.8 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.01206, allocations: 4.375 kB / 351.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.01209, allocations: 8.375 kB / 351.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.01238, allocations: 99.91 kB / 351.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.01239, allocations: 3.938 kB / 351.9 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.01241, allocations: 8 kB / 352 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.01242, allocations: 0 / 352 MB, free: 4.699 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.01259, allocations: 47.91 kB / 352 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.01318, allocations: 384.7 kB / 352.4 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.01355, allocations: 117.2 kB / 352.5 MB, free: 4.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.01368, allocations: 41.69 kB / 352.5 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.01371, allocations: 4 kB / 352.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.01398, allocations: 120.9 kB / 352.7 MB, free: 3.922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.01398, allocations: 0 / 352.7 MB, free: 3.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001238/0.01522, allocations: 392.5 kB / 353 MB, free: 3.531 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.01527, allocations: 77.11 kB / 353.1 MB, free: 3.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/0.0158, allocations: 444.5 kB / 353.5 MB, free: 2.992 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.01583, allocations: 29.7 kB / 353.6 MB, free: 2.957 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.906e-05/0.01593, allocations: 152.4 kB / 353.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.092e-05/0.01599, allocations: 47.56 kB / 353.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/0.01606, allocations: 41.7 kB / 353.8 MB, free: 2.711 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.01616, allocations: 346.8 kB / 354.2 MB, free: 2.363 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.01631, allocations: 39.98 kB / 354.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.01647, allocations: 83.34 kB / 354.3 MB, free: 2.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.01681, allocations: 119.5 kB / 354.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01681, allocations: 0 / 354.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005087/0.01732, allocations: 197.3 kB / 354.6 MB, free: 1.902 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.01735, allocations: 12.06 kB / 354.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.01736, allocations: 0 / 354.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.635e-05/0.0174, allocations: 4.734 kB / 354.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.01764, allocations: 31.98 kB / 354.6 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.01765, allocations: 3.938 kB / 354.6 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.0178, allocations: 8 kB / 354.6 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.01782, allocations: 8 kB / 354.6 MB, free: 1.836 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001611/0.01798, allocations: 161.8 kB / 354.8 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.01805, allocations: 35.8 kB / 354.8 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006308/0.01869, allocations: 232.2 kB / 355.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.01869, allocations: 4 kB / 355.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.0187, allocations: 0 / 355.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.01871, allocations: 0 / 355.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009863/0.01969, allocations: 0.5772 MB / 355.6 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.0197, allocations: 7.938 kB / 355.7 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.0198, allocations: 19.98 kB / 355.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.01981, allocations: 4 kB / 355.7 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.01983, allocations: 8.062 kB / 355.7 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.01984, allocations: 7.938 kB / 355.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01984, allocations: 3.938 kB / 355.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.02042, allocations: 388.3 kB / 356.1 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/0.02049, allocations: 31.8 kB / 356.1 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.02055, allocations: 0 / 356.1 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.0208, allocations: 8 kB / 356.1 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/0.02089, allocations: 23.84 kB / 356.1 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.02092, allocations: 12 kB / 356.2 MB, free: 252 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004578/0.02138, allocations: 323 kB / 356.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.02138, allocations: 4 kB / 356.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006599/0.02204, allocations: 47.92 kB / 356.5 MB, free: 15.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003289/0.02533, allocations: 0.4904 MB / 357 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005341/0.02586, allocations: 123.8 kB / 357.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.02587, allocations: 0 / 357.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.02611, allocations: 59.91 kB / 357.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000942/0.02705, allocations: 54.73 kB / 357.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.02863, allocations: 0.5106 MB / 357.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.02893, allocations: 153.1 kB / 357.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.0291, allocations: 38.23 kB / 357.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.02922, allocations: 28.5 kB / 358 MB, free: 14.49 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.02922, allocations: 0 / 358 MB, free: 14.49 MB / 298.7 MB Notification: Performance of Templates: time 0.01199/0.04121, allocations: 2.932 MB / 360.9 MB, free: 11.58 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.151106626028195]