Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.001478/0.001478, allocations: 91.33 kB / 20.43 MB, free: 4.145 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.001534/0.001534, allocations: 165 kB / 23.8 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 1.057/1.057, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.1576/0.1576, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 3.938 kB / 347.8 MB, free: 9.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.673e-05/3.96e-05, allocations: 6.25 kB / 347.8 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002707/0.002747, allocations: 1.73 MB / 349.5 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009177/0.003665, allocations: 0.7959 MB / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.003742, allocations: 0 / 350.3 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004059/0.004148, allocations: 83.7 kB / 350.4 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002775/0.004426, allocations: 91.58 kB / 350.5 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.004635, allocations: 79.7 kB / 350.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.004826, allocations: 107.7 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.004947, allocations: 8.234 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.005068, allocations: 67.75 kB / 350.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.005173, allocations: 51.88 kB / 350.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.005193, allocations: 4 kB / 350.8 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.115e-05/0.005265, allocations: 39.92 kB / 350.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.005322, allocations: 31.91 kB / 350.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.005367, allocations: 23.88 kB / 350.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.005547, allocations: 99.58 kB / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.005551, allocations: 0 / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.005554, allocations: 0 / 351 MB, free: 6.141 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.005559, allocations: 0 / 351 MB, free: 6.141 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.0004591/0.006019, allocations: 455.8 kB / 351.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.006062, allocations: 12.03 kB / 351.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.006113, allocations: 8.891 kB / 351.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.006275, allocations: 152.4 kB / 351.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.006293, allocations: 8.312 kB / 351.6 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.006315, allocations: 4.375 kB / 351.6 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.006455, allocations: 66.88 kB / 351.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.006466, allocations: 3.938 kB / 351.7 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.006478, allocations: 4 kB / 351.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.006485, allocations: 0 / 351.7 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.665e-05/0.006522, allocations: 11.98 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.006852, allocations: 283.8 kB / 351.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.007004, allocations: 59.09 kB / 352 MB, free: 4.977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.00704, allocations: 19.62 kB / 352 MB, free: 4.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.007057, allocations: 8 kB / 352 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.007165, allocations: 69.03 kB / 352.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.007167, allocations: 0 / 352.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004649/0.007632, allocations: 153.7 kB / 352.3 MB, free: 4.707 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.007661, allocations: 51.41 kB / 352.3 MB, free: 4.645 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.007784, allocations: 242.6 kB / 352.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.007796, allocations: 29.7 kB / 352.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.007844, allocations: 154.9 kB / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.007873, allocations: 27.84 kB / 352.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.007909, allocations: 31.36 kB / 352.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.008028, allocations: 0.5001 MB / 353.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.008053, allocations: 8 kB / 353.3 MB, free: 3.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.008089, allocations: 39.3 kB / 353.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.131e-05/0.008141, allocations: 55.36 kB / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.008142, allocations: 0 / 353.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.393e-05/0.008236, allocations: 93.53 kB / 353.5 MB, free: 3.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.008248, allocations: 8 kB / 353.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.008253, allocations: 0 / 353.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.008267, allocations: 0 / 353.5 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.008341, allocations: 20.02 kB / 353.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.008348, allocations: 0 / 353.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.645e-05/0.008374, allocations: 4 kB / 353.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.008381, allocations: 4 kB / 353.5 MB, free: 3.371 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.54e-05/0.008436, allocations: 171 kB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.008448, allocations: 11.91 kB / 353.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.00859, allocations: 111.2 kB / 353.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.008592, allocations: 3.938 kB / 353.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.008597, allocations: 4 kB / 353.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.008602, allocations: 0 / 353.8 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.008885, allocations: 400.9 kB / 354.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.008887, allocations: 0 / 354.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.828e-05/0.008915, allocations: 11.98 kB / 354.2 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.008919, allocations: 4 kB / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.008926, allocations: 0 / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.008927, allocations: 0 / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.008929, allocations: 0 / 354.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.009031, allocations: 267.4 kB / 354.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.009041, allocations: 11.91 kB / 354.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.009058, allocations: 8.016 kB / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.88e-05/0.009097, allocations: 0 / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.009129, allocations: 11.98 kB / 354.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.009141, allocations: 4 kB / 354.5 MB, free: 2.285 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.36e-05/0.009195, allocations: 175.1 kB / 354.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009195, allocations: 0 / 354.7 MB, free: 2.113 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.009355, allocations: 24 kB / 354.7 MB, free: 2.09 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.0008714/0.01023, allocations: 441.1 kB / 355.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.01035, allocations: 59.55 kB / 355.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01035, allocations: 0 / 355.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.96e-05/0.01041, allocations: 31.67 kB / 355.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.01065, allocations: 35.88 kB / 355.3 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.01097, allocations: 221.3 kB / 355.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.318e-05/0.011, allocations: 75.33 kB / 355.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.862e-05/0.01103, allocations: 12.48 kB / 355.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.01106, allocations: 24.61 kB / 355.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01106, allocations: 0 / 355.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of Templates: time 0.004067/0.01513, allocations: 1.976 MB / 357.6 MB, free: 15.28 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.2072714189998806]