Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001837/0.001837, allocations: 103.5 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0019/0.0019, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.623/1.623, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3741/0.3741, allocations: 34.25 MB / 295.2 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.572e-05/3.762e-05, allocations: 7.938 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.004562/0.0046, allocations: 1.615 MB / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.005814, allocations: 0.5565 MB / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.005879, allocations: 3.938 kB / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.006113, allocations: 23.78 kB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.006401, allocations: 79.56 kB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.006723, allocations: 119.6 kB / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.006921, allocations: 75.77 kB / 379.7 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.071e-05/0.007012, allocations: 4 kB / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.0071, allocations: 43.83 kB / 379.7 MB, free: 380 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.853e-05/0.007179, allocations: 19.98 kB / 379.8 MB, free: 360 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.007203, allocations: 4 kB / 379.8 MB, free: 356 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.00739, allocations: 99.75 kB / 379.9 MB, free: 256 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.007448, allocations: 15.97 kB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.00748, allocations: 11.94 kB / 379.9 MB, free: 228 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.007791, allocations: 155.5 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.007796, allocations: 7.984 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007797, allocations: 0 / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.007801, allocations: 0 / 380 MB, free: 64 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006196/0.008421, allocations: 435.6 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.008453, allocations: 8.031 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.008509, allocations: 8.891 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.008735, allocations: 132.5 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.008749, allocations: 4.375 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.008772, allocations: 8.312 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.008953, allocations: 91.33 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.008966, allocations: 8.141 kB / 380.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.00898, allocations: 4.375 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.008984, allocations: 384 / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.695e-05/0.009071, allocations: 23.86 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.009576, allocations: 291.8 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.009725, allocations: 47.05 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.538e-05/0.00979, allocations: 19.77 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.009827, allocations: 11.94 kB / 381.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.009867, allocations: 33.39 kB / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.009869, allocations: 4 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006715/0.01054, allocations: 149.4 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.01061, allocations: 77.11 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.01086, allocations: 216.5 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.01089, allocations: 29.7 kB / 381.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.011, allocations: 138.9 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.01104, allocations: 31.73 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.01109, allocations: 27.38 kB / 381.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002781/0.01137, allocations: 0.4962 MB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.01144, allocations: 19.98 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.01154, allocations: 65.06 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.01169, allocations: 47.66 kB / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.01169, allocations: 0 / 382.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002084/0.0119, allocations: 97.72 kB / 382.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.01191, allocations: 4 kB / 382.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01192, allocations: 0 / 382.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.01193, allocations: 0 / 382.5 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.01204, allocations: 20.03 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.01204, allocations: 0 / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.01208, allocations: 3.984 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.01209, allocations: 4 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001409/0.01223, allocations: 164.5 kB / 382.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.01228, allocations: 15.89 kB / 382.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.01255, allocations: 86.44 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01255, allocations: 0 / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.01256, allocations: 7.938 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01257, allocations: 4 kB / 382.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.01313, allocations: 373.2 kB / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.01313, allocations: 0 / 383.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.355e-05/0.0132, allocations: 12 kB / 383.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.0132, allocations: 0 / 383.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.01321, allocations: 7.984 kB / 383.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01321, allocations: 0 / 383.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01321, allocations: 0 / 383.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.01354, allocations: 235.8 kB / 383.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.01356, allocations: 15.95 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.01358, allocations: 4 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.01365, allocations: 4 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.01369, allocations: 3.984 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.0137, allocations: 4 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001405/0.01384, allocations: 162.1 kB / 383.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01384, allocations: 0 / 383.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002917/0.01413, allocations: 39.88 kB / 383.7 MB, free: 12.11 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.003757/0.01789, allocations: 0.5269 MB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.01815, allocations: 63.58 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01815, allocations: 4 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.658e-05/0.01824, allocations: 31.67 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.01858, allocations: 19.92 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.01913, allocations: 194.4 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.01924, allocations: 83.27 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.899e-05/0.01934, allocations: 29 kB / 384.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.0194, allocations: 20.48 kB / 384.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.0194, allocations: 0 / 384.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of Templates: time 0.006291/0.02569, allocations: 2.017 MB / 386.7 MB, free: 9.246 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.224451210931875]