Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.001544/0.001544, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001793/0.001793, allocations: 165 kB / 23.79 MB, free: 0.7773 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.9323/0.9323, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1545/0.1545, allocations: 32.38 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 347.7 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.995e-05, allocations: 6.25 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002288/0.002318, allocations: 1.748 MB / 349.5 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008984/0.003217, allocations: 0.792 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.003301, allocations: 0 / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.003625, allocations: 51.75 kB / 350.3 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.003847, allocations: 55.7 kB / 350.4 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.00407, allocations: 87.69 kB / 350.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.004215, allocations: 95.7 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.985e-05/0.004305, allocations: 4.219 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.157e-05/0.004386, allocations: 59.77 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.263e-05/0.004459, allocations: 23.92 kB / 350.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.00448, allocations: 4 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.959e-05/0.00457, allocations: 43.91 kB / 350.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.004628, allocations: 19.92 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.537e-05/0.004673, allocations: 23.92 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.004868, allocations: 107.5 kB / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004871, allocations: 0 / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.004872, allocations: 0 / 350.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.004878, allocations: 0 / 350.8 MB, free: 6.25 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.0004007/0.005278, allocations: 447.9 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.005322, allocations: 8.031 kB / 351.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.005371, allocations: 12.84 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.005523, allocations: 153.8 kB / 351.5 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.005541, allocations: 4.375 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.005562, allocations: 4.375 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.005686, allocations: 62.94 kB / 351.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.005696, allocations: 7.875 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.005705, allocations: 0 / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.005712, allocations: 0 / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.214e-05/0.005744, allocations: 11.98 kB / 351.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.006021, allocations: 287.8 kB / 351.8 MB, free: 5.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.006126, allocations: 55.11 kB / 351.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.006155, allocations: 19.62 kB / 351.9 MB, free: 5.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.00617, allocations: 7.938 kB / 351.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.808e-05/0.006258, allocations: 65.05 kB / 352 MB, free: 4.992 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.00626, allocations: 4 kB / 352 MB, free: 4.988 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003807/0.00664, allocations: 157.4 kB / 352.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.006669, allocations: 55.41 kB / 352.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.006773, allocations: 228 kB / 352.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.006783, allocations: 29.7 kB / 352.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.00682, allocations: 150.9 kB / 352.6 MB, free: 4.336 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.006846, allocations: 31.73 kB / 352.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.006874, allocations: 27.38 kB / 352.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.006921, allocations: 0.4962 MB / 353.1 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.006945, allocations: 19.98 kB / 353.2 MB, free: 3.742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-05/0.006975, allocations: 35.69 kB / 353.2 MB, free: 3.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.007028, allocations: 51.31 kB / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.00703, allocations: 0 / 353.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001055/0.007135, allocations: 89.58 kB / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.007151, allocations: 4 kB / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.007156, allocations: 0 / 353.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.007171, allocations: 3.984 kB / 353.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.007248, allocations: 20.03 kB / 353.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.007254, allocations: 0 / 353.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/0.007283, allocations: 4 kB / 353.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.007289, allocations: 4 kB / 353.4 MB, free: 3.512 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.336e-05/0.007343, allocations: 172.4 kB / 353.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.007358, allocations: 15.91 kB / 353.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.007499, allocations: 107.2 kB / 353.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.007502, allocations: 4 kB / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.007506, allocations: 0 / 353.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.007511, allocations: 3.984 kB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.007763, allocations: 393 kB / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007764, allocations: 0 / 354 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.007792, allocations: 8 kB / 354.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.007795, allocations: 4 kB / 354.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.007805, allocations: 7.984 kB / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.007806, allocations: 0 / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007808, allocations: 0 / 354.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.007915, allocations: 267.3 kB / 354.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.007924, allocations: 7.953 kB / 354.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.007942, allocations: 4.031 kB / 354.3 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.007983, allocations: 8 kB / 354.3 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.008016, allocations: 7.984 kB / 354.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.00803, allocations: 4 kB / 354.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.619e-05/0.008086, allocations: 171.8 kB / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008086, allocations: 0 / 354.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.008267, allocations: 27.92 kB / 354.5 MB, free: 2.234 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.0008534/0.00912, allocations: 440.5 kB / 355 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.009252, allocations: 59.58 kB / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.009254, allocations: 0 / 355 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.009293, allocations: 35.61 kB / 355.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.009536, allocations: 35.84 kB / 355.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.009904, allocations: 213.4 kB / 355.3 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.375e-05/0.009938, allocations: 71.33 kB / 355.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.891e-05/0.009977, allocations: 16.47 kB / 355.4 MB, free: 1.414 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.01001, allocations: 28.56 kB / 355.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01001, allocations: 0 / 355.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of Templates: time 0.00352/0.01353, allocations: 1.833 MB / 357.3 MB, free: 15.57 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.546009189914912]