Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.0009169/0.0009169, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009024/0.0009024, allocations: 160.2 kB / 24.91 MB, free: 8.766 MB / 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 0.9132/0.9132, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] 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.2431/0.2431, allocations: 34.86 MB / 296.6 MB, free: 0.5078 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.567e-05, allocations: 4.719 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003249/0.003275, allocations: 1.645 MB / 327.6 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.004293, allocations: 0.5485 MB / 328.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.004348, allocations: 4 kB / 328.1 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.00455, allocations: 23.8 kB / 328.2 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.004845, allocations: 79.61 kB / 328.2 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.005131, allocations: 95.62 kB / 328.3 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.005285, allocations: 79.7 kB / 328.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.277e-05/0.005358, allocations: 7.984 kB / 328.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.851e-05/0.005437, allocations: 39.91 kB / 328.5 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.212e-05/0.005509, allocations: 27.89 kB / 328.5 MB, free: 4.594 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.005524, allocations: 4 kB / 328.5 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.005705, allocations: 99.81 kB / 328.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.005743, allocations: 11.94 kB / 328.6 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.005775, allocations: 24.66 kB / 328.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.006033, allocations: 139.5 kB / 328.8 MB, free: 4.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.006037, allocations: 3.984 kB / 328.8 MB, free: 4.316 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.006038, allocations: 0 / 328.8 MB, free: 4.316 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.006041, allocations: 0 / 328.8 MB, free: 4.316 MB / 298.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.0003985/0.00644, allocations: 305.7 kB / 329.1 MB, free: 3.992 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.006473, allocations: 8.031 kB / 329.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/0.006509, allocations: 4.938 kB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.006676, allocations: 145.5 kB / 329.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.006688, allocations: 12.38 kB / 329.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.006708, allocations: 384 / 329.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.006841, allocations: 102.3 kB / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.006852, allocations: 192 / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.00686, allocations: 384 / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.006866, allocations: 4.359 kB / 329.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.156e-05/0.006898, allocations: 11.94 kB / 329.3 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.007194, allocations: 179.1 kB / 329.5 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.671e-05/0.00727, allocations: 33.39 kB / 329.5 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/0.007297, allocations: 16.98 kB / 329.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.007321, allocations: 4 kB / 329.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.007348, allocations: 30.56 kB / 329.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.512e-06/0.00735, allocations: 0 / 329.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003696/0.00772, allocations: 117.4 kB / 329.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.007764, allocations: 81.05 kB / 329.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.007896, allocations: 145.5 kB / 329.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.00791, allocations: 29.64 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.007955, allocations: 100.1 kB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.007979, allocations: 19.8 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.008022, allocations: 29.69 kB / 330.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.008123, allocations: 322.8 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.008149, allocations: 10.83 kB / 330.4 MB, free: 2.465 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.008189, allocations: 43.42 kB / 330.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.339e-05/0.008253, allocations: 42.41 kB / 330.5 MB, free: 2.363 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.008255, allocations: 0 / 330.5 MB, free: 2.363 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001028/0.008357, allocations: 62.3 kB / 330.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.008372, allocations: 7.984 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.008378, allocations: 4.312 kB / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.00839, allocations: 0 / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.008481, allocations: 23.97 kB / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.008484, allocations: 0 / 330.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.445e-05/0.008519, allocations: 7.984 kB / 330.6 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.008525, allocations: 4 kB / 330.6 MB, free: 2.25 MB / 298.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 (9): * Single equations (assignments): 9 * 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 7.092e-05/0.008596, allocations: 112.7 kB / 330.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.381e-05/0.00863, allocations: 8 kB / 330.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.008761, allocations: 78.33 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.008763, allocations: 0 / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.008765, allocations: 0 / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.008768, allocations: 0 / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.009101, allocations: 286.6 kB / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.009102, allocations: 0 / 331.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.844e-05/0.009171, allocations: 23.86 kB / 331.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.009174, allocations: 0 / 331.1 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.009183, allocations: 4 kB / 331.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.009184, allocations: 0 / 331.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.009186, allocations: 0 / 331.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.009308, allocations: 155.7 kB / 331.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.009327, allocations: 11.89 kB / 331.3 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.009343, allocations: 3.984 kB / 331.3 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.625e-05/0.009409, allocations: 8 kB / 331.3 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.009436, allocations: 7.984 kB / 331.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.009443, allocations: 7.938 kB / 331.3 MB, free: 1.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.154e-05/0.009494, allocations: 34.75 kB / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009494, allocations: 0 / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003008/0.009795, allocations: 47.86 kB / 331.4 MB, free: 1.418 MB / 298.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 (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 Backend phase and start with SimCode phase: time 0.001813/0.01161, allocations: 0.62 MB / 332 MB, free: 1.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.01171, allocations: 28.84 kB / 332 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.01172, allocations: 0 / 332 MB, free: 1.047 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.628e-05/0.01175, allocations: 32.77 kB / 332.1 MB, free: 1.012 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.01197, allocations: 19.95 kB / 332.1 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.01233, allocations: 187.1 kB / 332.3 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.515e-05/0.01238, allocations: 63.34 kB / 332.3 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.579e-05/0.01243, allocations: 12.48 kB / 332.4 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/0.01252, allocations: 71.36 kB / 332.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01252, allocations: 4 kB / 332.4 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of Templates: time 0.005066/0.01759, allocations: 2.243 MB / 334.7 MB, free: 14.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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: 2.8997856001369655]