Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.001108/0.001108, allocations: 95.31 kB / 20.43 MB, free: 4.137 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.001016/0.001016, allocations: 165 kB / 23.8 MB, free: 0.7695 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.011/1.011, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1416/0.1416, 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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 347.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.412e-05, allocations: 8.219 kB / 347.7 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.006988/0.007022, allocations: 1.745 MB / 349.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.008054, allocations: 0.792 MB / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.008133, allocations: 0 / 350.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00338/0.01151, allocations: 47.75 kB / 350.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.01177, allocations: 51.7 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.01202, allocations: 87.69 kB / 350.5 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.01218, allocations: 95.69 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.01228, allocations: 4.234 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.01239, allocations: 63.77 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/0.01246, allocations: 27.91 kB / 350.7 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.01248, allocations: 4 kB / 350.7 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.492e-05/0.01258, allocations: 39.92 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.01263, allocations: 19.92 kB / 350.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.01268, allocations: 19.92 kB / 350.7 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.01288, allocations: 95.66 kB / 350.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.01288, allocations: 3.938 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01288, allocations: 0 / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.01289, allocations: 0 / 350.8 MB, free: 6.254 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.0004464/0.01334, allocations: 443.9 kB / 351.3 MB, free: 5.785 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.01338, allocations: 8.031 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.01343, allocations: 16.84 kB / 351.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.0136, allocations: 144.3 kB / 351.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.01362, allocations: 4.375 kB / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.01364, allocations: 384 / 351.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.01378, allocations: 62.94 kB / 351.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.01379, allocations: 3.938 kB / 351.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.01381, allocations: 7.938 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.01382, allocations: 0 / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.17e-05/0.01386, allocations: 15.98 kB / 351.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.0172, allocations: 275.8 kB / 351.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.01734, allocations: 55.17 kB / 351.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.01737, allocations: 19.56 kB / 351.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.01739, allocations: 4 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.0175, allocations: 69.03 kB / 351.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.0175, allocations: 0 / 351.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004543/0.01795, allocations: 157.4 kB / 352.1 MB, free: 4.852 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.01798, allocations: 51.41 kB / 352.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.0181, allocations: 219 kB / 352.4 MB, free: 4.559 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.01811, allocations: 29.7 kB / 352.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.01815, allocations: 150.8 kB / 352.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.01818, allocations: 27.8 kB / 352.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.01822, allocations: 31.36 kB / 352.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.741e-05/0.01826, allocations: 0.4962 MB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.871e-05/0.01829, allocations: 12.31 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/0.01833, allocations: 39.3 kB / 353.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.01839, allocations: 47.31 kB / 353.2 MB, free: 3.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01839, allocations: 8 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001226/0.01851, allocations: 93.55 kB / 353.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.01853, allocations: 4 kB / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01853, allocations: 0 / 353.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.01855, allocations: 4 kB / 353.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.01864, allocations: 16 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.01864, allocations: 0 / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.01868, allocations: 7.984 kB / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.01869, allocations: 0 / 353.3 MB, free: 3.547 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.649e-05/0.01874, allocations: 176.5 kB / 353.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.01876, allocations: 15.91 kB / 353.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.01893, allocations: 106.6 kB / 353.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.01893, allocations: 0 / 353.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.01893, allocations: 3.938 kB / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01893, allocations: 0 / 353.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.01921, allocations: 385 kB / 354 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01921, allocations: 3.938 kB / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.01925, allocations: 8 kB / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.01925, allocations: 0 / 354 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01926, allocations: 12.02 kB / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.01926, allocations: 0 / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01926, allocations: 0 / 354 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.01939, allocations: 259.4 kB / 354.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.0194, allocations: 11.95 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.01942, allocations: 0 / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.969e-05/0.01948, allocations: 4 kB / 354.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.01952, allocations: 7.984 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.01953, allocations: 8 kB / 354.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.504e-05/0.01959, allocations: 159.1 kB / 354.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01959, allocations: 4 kB / 354.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002529/0.01984, allocations: 27.92 kB / 354.5 MB, free: 2.293 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.001072/0.02091, allocations: 443.3 kB / 354.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.02105, allocations: 55.53 kB / 355 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.02105, allocations: 0 / 355 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.02109, allocations: 31.62 kB / 355 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.02141, allocations: 36.19 kB / 355 MB, free: 1.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003754/0.02178, allocations: 205.6 kB / 355.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.848e-05/0.02182, allocations: 67.34 kB / 355.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.242e-05/0.02186, allocations: 16.47 kB / 355.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.0219, allocations: 20.5 kB / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0219, allocations: 0 / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of Templates: time 0.003939/0.02584, allocations: 1.834 MB / 357.2 MB, free: 15.65 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.4223549412563443]