Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.001569/0.001569, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001665/0.001665, allocations: 173 kB / 24.06 MB, free: 456 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 0.9268/0.9268, allocations: 158.6 MB / 185.9 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.1402/0.1402, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.686e-05, allocations: 9.344 kB / 348.2 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002512/0.002539, allocations: 1.719 MB / 349.9 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.003645, allocations: 0.7881 MB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.003733, allocations: 0 / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.004043, allocations: 51.7 kB / 350.8 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.004256, allocations: 51.75 kB / 350.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.004494, allocations: 83.7 kB / 350.9 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.004649, allocations: 107.6 kB / 351 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.004748, allocations: 4.234 kB / 351 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.601e-05/0.004844, allocations: 51.89 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.211e-05/0.004926, allocations: 27.91 kB / 351.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.004945, allocations: 4 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.597e-05/0.005041, allocations: 43.91 kB / 351.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.121e-05/0.005092, allocations: 23.86 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.005132, allocations: 15.94 kB / 351.2 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.005309, allocations: 103.6 kB / 351.3 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.005314, allocations: 0 / 351.3 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.005315, allocations: 0 / 351.3 MB, free: 6 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.005319, allocations: 0 / 351.3 MB, free: 6 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.0003763/0.005696, allocations: 451.8 kB / 351.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.005734, allocations: 12.03 kB / 351.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.005771, allocations: 16.84 kB / 351.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.005891, allocations: 149.8 kB / 351.9 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.005907, allocations: 12.31 kB / 351.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.005923, allocations: 384 / 351.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.884e-05/0.006022, allocations: 58.94 kB / 352 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.006031, allocations: 3.938 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.006039, allocations: 4 kB / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.006044, allocations: 0 / 352 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.551e-05/0.006069, allocations: 11.98 kB / 352 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.006284, allocations: 260.4 kB / 352.2 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.104e-05/0.006375, allocations: 63.06 kB / 352.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.078e-05/0.006396, allocations: 15.69 kB / 352.3 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.00641, allocations: 0 / 352.3 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.526e-05/0.006495, allocations: 68.98 kB / 352.4 MB, free: 4.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.006496, allocations: 0 / 352.4 MB, free: 4.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003147/0.006811, allocations: 133.5 kB / 352.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.742e-05/0.006828, allocations: 55.39 kB / 352.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.689e-05/0.006925, allocations: 231.9 kB / 352.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.006934, allocations: 29.7 kB / 352.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.006973, allocations: 150.8 kB / 353 MB, free: 4.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.006997, allocations: 27.78 kB / 353 MB, free: 4.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.007032, allocations: 35.3 kB / 353 MB, free: 4.066 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.613e-05/0.007078, allocations: 0.4962 MB / 353.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.007097, allocations: 11.98 kB / 353.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.007123, allocations: 27.39 kB / 353.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.473e-05/0.007168, allocations: 43.34 kB / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.007169, allocations: 0 / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001386/0.007307, allocations: 97.55 kB / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.007319, allocations: 4 kB / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.007325, allocations: 80 / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.007338, allocations: 0 / 353.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.007407, allocations: 23.92 kB / 353.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.007411, allocations: 3.984 kB / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.352e-05/0.007445, allocations: 0 / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.007451, allocations: 8 kB / 353.7 MB, free: 3.32 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.389e-05/0.007505, allocations: 156.6 kB / 353.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.007525, allocations: 27.86 kB / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.00766, allocations: 99.06 kB / 354 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.007662, allocations: 0 / 354 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.007664, allocations: 0 / 354 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.007667, allocations: 0 / 354 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.007896, allocations: 369.5 kB / 354.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.007898, allocations: 0 / 354.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.007929, allocations: 8.375 kB / 354.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.007931, allocations: 0 / 354.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.007938, allocations: 4 kB / 354.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.007941, allocations: 8.031 kB / 354.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.007942, allocations: 3.984 kB / 354.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.008051, allocations: 255.4 kB / 354.6 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.008064, allocations: 15.91 kB / 354.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.008083, allocations: 4 kB / 354.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.766e-05/0.008141, allocations: 0 / 354.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.00817, allocations: 7.984 kB / 354.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.008183, allocations: 8 kB / 354.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001219/0.009402, allocations: 159.8 kB / 354.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009402, allocations: 0 / 354.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.009645, allocations: 35.92 kB / 354.9 MB, free: 2.102 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.00102/0.01067, allocations: 435.5 kB / 355.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.01079, allocations: 47.53 kB / 355.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.0108, allocations: 4 kB / 355.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.745e-05/0.01083, allocations: 27.83 kB / 355.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.01114, allocations: 39.95 kB / 355.4 MB, free: 1.648 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003795/0.01152, allocations: 221.2 kB / 355.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.714e-05/0.01156, allocations: 71.33 kB / 355.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.956e-05/0.01159, allocations: 8.5 kB / 355.7 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.908e-05/0.01166, allocations: 98.11 kB / 355.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01166, allocations: 0 / 355.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of Templates: time 0.004053/0.01572, allocations: 2.015 MB / 357.8 MB, free: 15.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.1469339821487665]