Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.001004/0.001004, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001018/0.001018, allocations: 165.7 kB / 24.84 MB, free: 8.711 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.9897/0.9897, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1536/0.1536, allocations: 32.38 MB / 271.5 MB, free: 14.4 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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.854e-05, allocations: 6.25 kB / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002151/0.00217, allocations: 1.73 MB / 350.7 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.0032, allocations: 0.7803 MB / 351.5 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.003278, allocations: 4 kB / 351.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.00357, allocations: 39.75 kB / 351.5 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.003748, allocations: 55.7 kB / 351.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.003943, allocations: 99.62 kB / 351.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.004068, allocations: 87.7 kB / 351.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.302e-05/0.004151, allocations: 12.22 kB / 351.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.519e-05/0.004226, allocations: 51.83 kB / 351.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.0043, allocations: 19.92 kB / 351.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.004316, allocations: 4 kB / 351.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.004392, allocations: 43.92 kB / 351.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.004437, allocations: 31.84 kB / 351.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.004465, allocations: 19.94 kB / 352 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.004606, allocations: 99.58 kB / 352.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004609, allocations: 4 kB / 352.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.00461, allocations: 0 / 352.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.004615, allocations: 0 / 352.1 MB, free: 5.992 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.0003857/0.005001, allocations: 439.9 kB / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.005033, allocations: 12.03 kB / 352.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.005069, allocations: 8.891 kB / 352.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.005194, allocations: 144.4 kB / 352.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.005217, allocations: 384 / 352.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.005238, allocations: 16.31 kB / 352.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.869e-05/0.005337, allocations: 58.88 kB / 352.7 MB, free: 5.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.005347, allocations: 11.88 kB / 352.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.046e-06/0.005355, allocations: 4 kB / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.005361, allocations: 4 kB / 352.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.487e-05/0.005386, allocations: 11.98 kB / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.005586, allocations: 252.5 kB / 353 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.91e-05/0.005665, allocations: 55.09 kB / 353.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.929e-05/0.005684, allocations: 15.67 kB / 353.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.005695, allocations: 0 / 353.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.418e-05/0.005769, allocations: 72.97 kB / 353.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.00577, allocations: 4 kB / 353.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002884/0.006058, allocations: 137.4 kB / 353.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.006079, allocations: 55.41 kB / 353.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.001e-05/0.006159, allocations: 216 kB / 353.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.006175, allocations: 25.7 kB / 353.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.006213, allocations: 158.8 kB / 353.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.006236, allocations: 23.8 kB / 353.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.006268, allocations: 31.34 kB / 353.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.576e-05/0.006324, allocations: 0.4923 MB / 354.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.00634, allocations: 8 kB / 354.3 MB, free: 3.578 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/0.006366, allocations: 43.28 kB / 354.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.963e-05/0.006406, allocations: 39.36 kB / 354.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.006407, allocations: 0 / 354.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.196e-05/0.006489, allocations: 97.52 kB / 354.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.0065, allocations: 8 kB / 354.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.006505, allocations: 0 / 354.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.006514, allocations: 0 / 354.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.006575, allocations: 15.98 kB / 354.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.006578, allocations: 4 kB / 354.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.608e-05/0.006604, allocations: 4.031 kB / 354.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.00661, allocations: 8 kB / 354.5 MB, free: 3.34 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 6.216e-05/0.006672, allocations: 160.5 kB / 354.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.006689, allocations: 19.84 kB / 354.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.006804, allocations: 98.38 kB / 354.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.006806, allocations: 4 kB / 354.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.006808, allocations: 0 / 354.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.006811, allocations: 0 / 354.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.007027, allocations: 361.5 kB / 355.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.007029, allocations: 4.406 kB / 355.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.007053, allocations: 12 kB / 355.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.007055, allocations: 0 / 355.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.007061, allocations: 4 kB / 355.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.007063, allocations: 0 / 355.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007063, allocations: 4 kB / 355.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.007185, allocations: 255.4 kB / 355.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.007195, allocations: 7.953 kB / 355.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.00721, allocations: 7.984 kB / 355.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/0.007249, allocations: 4 kB / 355.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.007275, allocations: 11.98 kB / 355.4 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.007286, allocations: 4 kB / 355.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.677e-05/0.007323, allocations: 156 kB / 355.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007323, allocations: 0 / 355.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.007496, allocations: 27.94 kB / 355.6 MB, free: 2.145 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.0008756/0.008371, allocations: 435.6 kB / 356 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.898e-05/0.00847, allocations: 47.59 kB / 356.1 MB, free: 1.758 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-06/0.008471, allocations: 3.938 kB / 356.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.976e-05/0.008501, allocations: 35.72 kB / 356.1 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.00872, allocations: 39.81 kB / 356.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.009002, allocations: 217.3 kB / 356.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.388e-05/0.009036, allocations: 63.34 kB / 356.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.387e-05/0.00908, allocations: 12.48 kB / 356.5 MB, free: 1.336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.418e-05/0.009144, allocations: 94.19 kB / 356.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.009145, allocations: 0 / 356.5 MB, free: 1.242 MB / 282.7 MB Notification: Performance of Templates: time 0.00374/0.01288, allocations: 2.031 MB / 358.6 MB, free: 15.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.30649866303429]