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.001195/0.001195, 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.001293/0.001293, allocations: 165.8 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.9222/0.9222, allocations: 158.6 MB / 186.7 MB, free: 2.793 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.1377/0.1377, allocations: 32.38 MB / 271.5 MB, free: 14.41 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.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 1.924e-06/1.924e-06, allocations: 0 / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.739e-05, allocations: 6.25 kB / 349 MB, free: 9.074 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002114/0.002132, allocations: 1.722 MB / 350.7 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000902/0.003034, allocations: 0.7803 MB / 351.5 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.568e-05/0.003099, allocations: 4 kB / 351.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.003351, allocations: 39.77 kB / 351.5 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.00353, allocations: 55.7 kB / 351.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.003713, allocations: 95.62 kB / 351.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.003839, allocations: 91.7 kB / 351.8 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.124e-05/0.00391, allocations: 8.219 kB / 351.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.313e-05/0.003983, allocations: 55.83 kB / 351.8 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.004045, allocations: 19.92 kB / 351.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.00406, allocations: 4 kB / 351.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.009e-05/0.00413, allocations: 43.92 kB / 351.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.004173, allocations: 31.84 kB / 351.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.004203, allocations: 19.92 kB / 352 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.004343, allocations: 99.59 kB / 352.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.472e-06/0.004344, allocations: 4 kB / 352.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004345, allocations: 0 / 352.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.004349, allocations: 0 / 352.1 MB, free: 5.988 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.0002975/0.004646, allocations: 439.9 kB / 352.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.004673, allocations: 16.02 kB / 352.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.004703, allocations: 8.891 kB / 352.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.004808, allocations: 144.4 kB / 352.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.004821, allocations: 384 / 352.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.004836, allocations: 8.328 kB / 352.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.52e-05/0.004911, allocations: 62.88 kB / 352.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.004919, allocations: 11.88 kB / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.004925, allocations: 0 / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.00493, allocations: 4 kB / 352.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.436e-05/0.004954, allocations: 11.98 kB / 352.7 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.005134, allocations: 260.4 kB / 353 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.657e-05/0.005211, allocations: 47.11 kB / 353.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.005232, allocations: 19.67 kB / 353.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.005241, allocations: 0 / 353.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.915e-05/0.00531, allocations: 68.97 kB / 353.1 MB, free: 4.781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/0.005311, allocations: 4 kB / 353.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002893/0.0056, allocations: 137.4 kB / 353.3 MB, free: 4.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.005619, allocations: 55.41 kB / 353.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.005705, allocations: 220 kB / 353.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.005713, allocations: 25.7 kB / 353.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.005748, allocations: 154.8 kB / 353.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.005771, allocations: 19.78 kB / 353.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.005804, allocations: 35.34 kB / 353.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.005852, allocations: 0.4962 MB / 354.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.005868, allocations: 8 kB / 354.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.751e-05/0.005895, allocations: 43.28 kB / 354.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.337e-05/0.005939, allocations: 39.36 kB / 354.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.00594, allocations: 0 / 354.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.968e-05/0.00603, allocations: 93.53 kB / 354.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.006041, allocations: 8 kB / 354.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.006045, allocations: 0 / 354.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.006054, allocations: 0 / 354.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.824e-05/0.006112, allocations: 15.98 kB / 354.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.006115, allocations: 4 kB / 354.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.016e-05/0.006145, allocations: 4.031 kB / 354.5 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.006151, allocations: 4 kB / 354.5 MB, free: 3.344 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 4.981e-05/0.006201, allocations: 168.5 kB / 354.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.006219, allocations: 15.84 kB / 354.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.00634, allocations: 98.38 kB / 354.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.006343, allocations: 4 kB / 354.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.006344, allocations: 0 / 354.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006347, allocations: 0 / 354.8 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.00657, allocations: 361.5 kB / 355.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.006571, allocations: 4.406 kB / 355.1 MB, free: 2.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.006599, allocations: 16 kB / 355.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.006601, allocations: 4 kB / 355.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.006606, allocations: 0 / 355.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006607, allocations: 0 / 355.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006608, allocations: 4 kB / 355.1 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.006717, allocations: 255.4 kB / 355.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.006728, allocations: 11.94 kB / 355.4 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.006745, allocations: 4 kB / 355.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.599e-05/0.006801, allocations: 4 kB / 355.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.006822, allocations: 11.98 kB / 355.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.006831, allocations: 0 / 355.4 MB, free: 2.324 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.67e-05/0.006877, allocations: 160 kB / 355.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006877, allocations: 0 / 355.6 MB, free: 2.168 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.007112, allocations: 27.94 kB / 355.6 MB, free: 2.141 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.001089/0.0082, allocations: 440 kB / 356 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.812e-05/0.008288, allocations: 51.53 kB / 356.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.008289, allocations: 0 / 356.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.237e-05/0.008322, 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.0002654/0.008587, 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.0002491/0.008836, 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 2.788e-05/0.008864, allocations: 63.34 kB / 356.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.487e-05/0.008899, 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 5.622e-05/0.008955, allocations: 90.19 kB / 356.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008956, allocations: 0 / 356.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of Templates: time 0.003671/0.01263, allocations: 2.039 MB / 358.6 MB, free: 15.22 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: 3.188544409815222]