Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.0009316/0.0009316, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.0009805/0.0009805, allocations: 169 kB / 24.25 MB, free: 304 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.282/1.282, allocations: 158.6 MB / 186 MB, free: 2.895 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.138/0.138, allocations: 32.38 MB / 270.7 MB, free: 14.76 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 347.7 MB, free: 9.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.82e-05/3.005e-05, allocations: 2.312 kB / 347.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002201/0.002231, allocations: 1.7 MB / 349.4 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009327/0.003164, allocations: 0.7765 MB / 350.2 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.693e-05/0.003241, allocations: 3.938 kB / 350.2 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.003546, allocations: 55.75 kB / 350.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.003742, allocations: 63.69 kB / 350.3 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.003917, allocations: 75.72 kB / 350.4 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.004051, allocations: 103.6 kB / 350.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.00409, allocations: 4 kB / 350.5 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.004164, allocations: 43.84 kB / 350.6 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.321e-05/0.004237, allocations: 27.91 kB / 350.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.004261, allocations: 8 kB / 350.6 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.62e-05/0.004327, allocations: 31.92 kB / 350.6 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.004378, allocations: 23.92 kB / 350.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.004417, allocations: 19.92 kB / 350.7 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.004583, allocations: 99.55 kB / 350.8 MB, free: 6.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.004587, allocations: 0 / 350.8 MB, free: 6.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.004588, allocations: 0 / 350.8 MB, free: 6.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.004593, allocations: 0 / 350.8 MB, free: 6.648 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004212/0.005014, allocations: 467.8 kB / 351.2 MB, free: 6.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.005054, allocations: 8.031 kB / 351.2 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.005107, allocations: 16.84 kB / 351.3 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.005261, allocations: 152.4 kB / 351.4 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.005283, allocations: 4.375 kB / 351.4 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.005294, allocations: 8.297 kB / 351.4 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001385/0.005432, allocations: 54.95 kB / 351.5 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.00544, allocations: 3.938 kB / 351.5 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.005449, allocations: 0 / 351.5 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.00546, allocations: 3.938 kB / 351.5 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.333e-05/0.005494, allocations: 11.98 kB / 351.5 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.005631, allocations: 152.6 kB / 351.6 MB, free: 5.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.005737, allocations: 51.11 kB / 351.7 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.005766, allocations: 19.62 kB / 351.7 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.005791, allocations: 0 / 351.7 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.005899, allocations: 65.05 kB / 351.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.005901, allocations: 0 / 351.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002092/0.00611, allocations: 89.52 kB / 351.9 MB, free: 5.422 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.006139, allocations: 55.34 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.006266, allocations: 273.4 kB / 352.2 MB, free: 5.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.006276, allocations: 25.7 kB / 352.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.006318, allocations: 170.8 kB / 352.4 MB, free: 4.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.006351, allocations: 15.84 kB / 352.4 MB, free: 4.852 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.006383, allocations: 23.38 kB / 352.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.006453, allocations: 0.5079 MB / 352.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.006475, allocations: 4 kB / 352.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.006504, allocations: 27.36 kB / 352.9 MB, free: 4.262 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.736e-05/0.006551, allocations: 39.62 kB / 353 MB, free: 4.215 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.006554, allocations: 0 / 353 MB, free: 4.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.218e-05/0.006636, allocations: 81.53 kB / 353.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.006649, allocations: 8.031 kB / 353.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006654, allocations: 3.938 kB / 353.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.006668, allocations: 0 / 353.1 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.016e-05/0.006748, allocations: 12 kB / 353.1 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.006755, allocations: 7.922 kB / 353.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.006784, allocations: 0 / 353.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.00679, allocations: 4 kB / 353.1 MB, free: 4.094 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 (7): * Single equations (assignments): 7 * 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.641e-05/0.006846, allocations: 160.6 kB / 353.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.006863, allocations: 15.91 kB / 353.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.006984, allocations: 86.75 kB / 353.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.006986, allocations: 8 kB / 353.4 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.006991, allocations: 3.984 kB / 353.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.006995, allocations: 0 / 353.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.381e-05/0.007069, allocations: 152.6 kB / 353.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.00707, allocations: 0 / 353.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-05/0.007088, allocations: 11.88 kB / 353.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.007089, allocations: 4 kB / 353.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.007096, allocations: 3.984 kB / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.007098, allocations: 3.938 kB / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007099, allocations: 0 / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.777e-05/0.007176, allocations: 116.3 kB / 353.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.007192, allocations: 19.89 kB / 353.7 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.007208, allocations: 0 / 353.7 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.251e-05/0.00723, allocations: 8.125 kB / 353.7 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.007265, allocations: 0 / 353.7 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.007282, allocations: 11.98 kB / 353.7 MB, free: 3.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.685e-05/0.007349, allocations: 192.4 kB / 353.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007349, allocations: 0 / 353.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001483/0.007497, allocations: 19.94 kB / 353.9 MB, free: 3.215 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009846/0.008481, allocations: 391.8 kB / 354.3 MB, free: 2.918 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.008599, allocations: 35.67 kB / 354.3 MB, free: 2.879 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.008601, allocations: 0 / 354.3 MB, free: 2.879 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.008639, allocations: 27.61 kB / 354.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.008847, allocations: 33.16 kB / 354.4 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.009194, allocations: 229.7 kB / 354.6 MB, free: 2.566 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.823e-05/0.009222, allocations: 75.33 kB / 354.7 MB, free: 2.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.899e-05/0.009251, allocations: 4.5 kB / 354.7 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.009278, allocations: 16.5 kB / 354.7 MB, free: 2.449 MB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.009279, allocations: 0 / 354.7 MB, free: 2.449 MB / 282.7 MB Notification: Performance of Templates: time 0.003444/0.01272, allocations: 1.648 MB / 356.3 MB, free: 0.8203 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.4860939329955727]