Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001367/0.001367, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001505/0.001505, allocations: 166.3 kB / 24.91 MB, free: 8.77 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.9397/0.9397, allocations: 177 MB / 205.2 MB, free: 5.078 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.2859/0.2859, allocations: 34.86 MB / 296.6 MB, free: 488 kB / 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.747e-05, allocations: 9.406 kB / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003327/0.003355, allocations: 1.683 MB / 327.6 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.004412, allocations: 0.5563 MB / 328.2 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.004481, allocations: 7.938 kB / 328.2 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.004838, allocations: 99.61 kB / 328.3 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.005184, allocations: 115.5 kB / 328.4 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.005497, allocations: 115.7 kB / 328.5 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.00569, allocations: 107.7 kB / 328.6 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.005825, allocations: 19.97 kB / 328.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.005926, allocations: 55.83 kB / 328.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.006046, allocations: 51.88 kB / 328.7 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.006064, allocations: 4 kB / 328.7 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.006173, allocations: 51.91 kB / 328.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.006232, allocations: 27.92 kB / 328.8 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.006271, allocations: 27.84 kB / 328.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.006471, allocations: 107.5 kB / 329 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.006474, allocations: 0 / 329 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.006476, allocations: 4 kB / 329 MB, free: 4.125 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.006479, allocations: 3.938 kB / 329 MB, free: 4.121 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004221/0.006902, allocations: 334.2 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.00694, allocations: 12.03 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.006978, allocations: 12.92 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.007151, allocations: 149.5 kB / 329.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.007163, allocations: 4.375 kB / 329.5 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.007189, allocations: 8.375 kB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.007314, allocations: 70.92 kB / 329.5 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.007325, allocations: 192 / 329.5 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.007335, allocations: 8.375 kB / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.00734, allocations: 384 / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.984e-05/0.00738, allocations: 21.3 kB / 329.6 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.00771, allocations: 206.9 kB / 329.8 MB, free: 3.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.007789, allocations: 38.56 kB / 329.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.348e-05/0.007812, allocations: 12.86 kB / 329.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.007832, allocations: 4 kB / 329.8 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.007859, allocations: 42.58 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.00786, allocations: 0 / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000645/0.008505, allocations: 202 kB / 330.1 MB, free: 2.918 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.008545, allocations: 51.41 kB / 330.1 MB, free: 2.855 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.008722, allocations: 193.1 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.008739, allocations: 29.7 kB / 330.3 MB, free: 2.613 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.008788, allocations: 104 kB / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.008829, allocations: 39.66 kB / 330.5 MB, free: 2.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.00888, allocations: 29.69 kB / 330.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.008984, allocations: 326.8 kB / 330.8 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.009014, allocations: 19.92 kB / 330.8 MB, free: 2.086 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.009039, allocations: 12 kB / 330.8 MB, free: 2.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.708e-05/0.009116, allocations: 46.59 kB / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.009117, allocations: 0 / 330.9 MB, free: 2.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001242/0.009241, allocations: 69.67 kB / 331 MB, free: 1.953 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.009256, allocations: 4 kB / 331 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.009261, allocations: 0 / 331 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.009276, allocations: 3.984 kB / 331 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.00939, allocations: 31.92 kB / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.009393, allocations: 0 / 331 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.009425, allocations: 4 kB / 331 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.009434, allocations: 4 kB / 331 MB, free: 1.906 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 (13): * Single equations (assignments): 13 * 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 9.017e-05/0.009524, allocations: 124.6 kB / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.009562, allocations: 11.98 kB / 331.1 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.009768, allocations: 111.1 kB / 331.3 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.009773, allocations: 4 kB / 331.3 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.009775, allocations: 0 / 331.3 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.009781, allocations: 3.984 kB / 331.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.01019, allocations: 291.4 kB / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.0102, allocations: 0 / 331.5 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.636e-05/0.01027, allocations: 24.02 kB / 331.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.01028, allocations: 4 kB / 331.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.01028, allocations: 4 kB / 331.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01029, allocations: 0 / 331.6 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01029, allocations: 7.922 kB / 331.6 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.01044, allocations: 178 kB / 331.8 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.01045, allocations: 19.89 kB / 331.8 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.01047, allocations: 4 kB / 331.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.01054, allocations: 4 kB / 331.8 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.01057, allocations: 3.984 kB / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.01058, allocations: 15.94 kB / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.42e-05/0.01065, allocations: 65.55 kB / 331.9 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01065, allocations: 0 / 331.9 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.01092, allocations: 23.98 kB / 331.9 MB, free: 0.957 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.001753/0.01267, allocations: 0.5758 MB / 332.5 MB, free: 0.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.01281, allocations: 44.78 kB / 332.5 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.01281, allocations: 4 kB / 332.5 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.936e-05/0.01286, allocations: 36.77 kB / 332.6 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.0131, allocations: 19.98 kB / 332.6 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.01358, allocations: 275.7 kB / 332.8 MB, free: 268 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.084e-05/0.01364, allocations: 79.33 kB / 332.9 MB, free: 168 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.203e-05/0.0137, allocations: 24.53 kB / 332.9 MB, free: 144 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.29e-05/0.01379, allocations: 63.36 kB / 333 MB, free: 80 kB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01379, allocations: 0 / 333 MB, free: 80 kB / 298.7 MB Notification: Performance of Templates: time 0.004028/0.01781, allocations: 1.755 MB / 334.8 MB, free: 14.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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: 2.908068005926907]