Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.001408/0.001408, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.002799/0.002799, allocations: 173 kB / 24.25 MB, free: 312 kB / 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.38/1.38, allocations: 158.6 MB / 186 MB, free: 2.914 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.1879/0.1879, allocations: 32.38 MB / 270.7 MB, free: 14.76 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.12e-05/4.363e-05, allocations: 6.25 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003771/0.003815, allocations: 1.745 MB / 349.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.005128, allocations: 0.7881 MB / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.005246, allocations: 0 / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.005666, allocations: 43.77 kB / 350.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.006001, allocations: 55.69 kB / 350.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.006398, allocations: 83.72 kB / 350.5 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.006685, allocations: 99.67 kB / 350.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.00688, allocations: 4.234 kB / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.007039, allocations: 59.77 kB / 350.6 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.00715, allocations: 23.91 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.007177, allocations: 4 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.007307, allocations: 43.92 kB / 350.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.065e-05/0.007388, allocations: 23.92 kB / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.007446, allocations: 19.92 kB / 350.7 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.007692, allocations: 103.5 kB / 350.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.007699, allocations: 0 / 350.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.007701, allocations: 4 kB / 350.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.007709, allocations: 0 / 350.8 MB, free: 6.594 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.0005099/0.008219, allocations: 439.9 kB / 351.3 MB, free: 6.129 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.008272, allocations: 12.03 kB / 351.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.008339, allocations: 8.891 kB / 351.3 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.008555, allocations: 148.4 kB / 351.4 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.008583, allocations: 384 / 351.4 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.008613, allocations: 12.33 kB / 351.4 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.008794, allocations: 66.88 kB / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.008807, allocations: 3.938 kB / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.008819, allocations: 4 kB / 351.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.008828, allocations: 0 / 351.5 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.29e-05/0.008871, allocations: 11.98 kB / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.009248, allocations: 279.8 kB / 351.8 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.009378, allocations: 55.11 kB / 351.9 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.009412, allocations: 19.62 kB / 351.9 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.009428, allocations: 4 kB / 351.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.009548, allocations: 65.05 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.714e-06/0.00955, allocations: 4 kB / 351.9 MB, free: 5.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005907/0.01014, allocations: 161.3 kB / 352.1 MB, free: 5.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.01017, allocations: 51.41 kB / 352.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.01029, allocations: 220.1 kB / 352.4 MB, free: 4.891 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.01031, allocations: 29.7 kB / 352.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.01036, allocations: 150.9 kB / 352.5 MB, free: 4.703 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.01039, allocations: 27.75 kB / 352.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.01043, allocations: 27.36 kB / 352.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.568e-05/0.0105, allocations: 0.4962 MB / 353.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/0.01053, allocations: 12.38 kB / 353.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.003e-05/0.01057, allocations: 39.3 kB / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.092e-05/0.01064, allocations: 59.28 kB / 353.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01064, allocations: 4 kB / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001437/0.01078, allocations: 89.58 kB / 353.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.0108, allocations: 4 kB / 353.3 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01081, allocations: 3.984 kB / 353.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.01083, allocations: 0 / 353.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.01094, allocations: 19.98 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.01095, allocations: 0 / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.01098, allocations: 4.031 kB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.01099, allocations: 4 kB / 353.3 MB, free: 3.875 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 7.876e-05/0.01107, allocations: 168.5 kB / 353.5 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.01109, allocations: 15.91 kB / 353.5 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.01129, allocations: 106.5 kB / 353.6 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01129, allocations: 4 kB / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.0113, allocations: 0 / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01131, allocations: 0 / 353.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.01165, allocations: 385 kB / 354 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.01167, allocations: 8.031 kB / 354 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.942e-05/0.01174, allocations: 11.98 kB / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.01174, allocations: 0 / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.01176, allocations: 8 kB / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01176, allocations: 0 / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01177, allocations: 0 / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.012, allocations: 259.4 kB / 354.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.01202, allocations: 7.953 kB / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.01204, allocations: 3.984 kB / 354.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.01209, allocations: 11.94 kB / 354.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.01214, allocations: 7.984 kB / 354.3 MB, free: 2.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.01216, allocations: 8 kB / 354.3 MB, free: 2.805 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.635e-05/0.01222, allocations: 167.9 kB / 354.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01222, allocations: 0 / 354.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001946/0.01242, allocations: 27.94 kB / 354.5 MB, free: 2.613 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.001092/0.01351, allocations: 435.7 kB / 354.9 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.01365, allocations: 55.59 kB / 355 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.01365, allocations: 3.938 kB / 355 MB, free: 2.215 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.0137, allocations: 35.73 kB / 355 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.01398, allocations: 31.88 kB / 355 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.01437, allocations: 221.6 kB / 355.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.473e-05/0.0144, allocations: 63.34 kB / 355.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.611e-05/0.01444, allocations: 20.47 kB / 355.3 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.01448, allocations: 12.5 kB / 355.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01448, allocations: 0 / 355.4 MB, free: 1.781 MB / 282.7 MB Notification: Performance of Templates: time 0.003987/0.01846, allocations: 1.844 MB / 357.2 MB, free: 15.96 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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: 4.074179990915582]