Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.0009096/0.0009096, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009073/0.0009073, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.97/0.97, allocations: 177 MB / 205.2 MB, free: 5.043 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.2841/0.2841, allocations: 34.86 MB / 296.6 MB, free: 472 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.Test21,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.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.553e-05/1.717e-05, allocations: 2.312 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.002435/0.002452, allocations: 1.693 MB / 327.7 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.003827, allocations: 1.293 MB / 329 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.003879, allocations: 4 kB / 329 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.004086, allocations: 31.72 kB / 329 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.004325, allocations: 75.58 kB / 329.1 MB, free: 4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.004545, allocations: 111.6 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.004665, allocations: 67.83 kB / 329.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.582e-05/0.004741, allocations: 15.92 kB / 329.3 MB, free: 3.809 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.694e-05/0.004798, allocations: 39.83 kB / 329.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.982e-05/0.004887, allocations: 23.92 kB / 329.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.004901, allocations: 4 kB / 329.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.005049, allocations: 95.88 kB / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.005086, allocations: 15.92 kB / 329.4 MB, free: 3.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.152e-05/0.005107, allocations: 15.92 kB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.005274, allocations: 131.5 kB / 329.6 MB, free: 3.488 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.005276, allocations: 4 kB / 329.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005276, allocations: 0 / 329.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.00528, allocations: 0 / 329.6 MB, free: 3.484 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003005/0.00558, allocations: 298.4 kB / 329.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.677e-05/0.005607, allocations: 12.03 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.005634, allocations: 8.938 kB / 329.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.005766, allocations: 129.7 kB / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.005776, allocations: 384 / 330 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.005796, allocations: 8.375 kB / 330 MB, free: 2.988 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.005898, allocations: 94.3 kB / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.005906, allocations: 192 / 330.1 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.005914, allocations: 4.375 kB / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.005919, allocations: 384 / 330.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/0.005938, allocations: 11.94 kB / 330.1 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.006133, allocations: 167.1 kB / 330.3 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.00624, allocations: 37.33 kB / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.006255, allocations: 12.86 kB / 330.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.006268, allocations: 0 / 330.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.006288, allocations: 34.62 kB / 330.4 MB, free: 2.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.006289, allocations: 4 kB / 330.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002285/0.006517, allocations: 81.56 kB / 330.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.006547, allocations: 81.09 kB / 330.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/0.006629, allocations: 144.3 kB / 330.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.006641, allocations: 33.7 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/0.006669, allocations: 96.03 kB / 330.8 MB, free: 2.094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.006686, allocations: 11.89 kB / 330.8 MB, free: 2.082 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.006714, allocations: 21.7 kB / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.956e-05/0.006784, allocations: 318.8 kB / 331.2 MB, free: 1.734 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.006794, allocations: 7.984 kB / 331.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.00682, allocations: 39.42 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.006851, allocations: 31.8 kB / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.006852, allocations: 0 / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.797e-05/0.0069, allocations: 41.69 kB / 331.3 MB, free: 1.594 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.006909, allocations: 8 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.006915, allocations: 3.938 kB / 331.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.006926, allocations: 4.031 kB / 331.3 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.663e-05/0.006962, allocations: 15.98 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.006965, allocations: 0 / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.006982, allocations: 4 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.006986, allocations: 0 / 331.3 MB, free: 1.559 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 (5): * Single equations (assignments): 5 * 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.096e-05/0.007037, allocations: 116.6 kB / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.007055, allocations: 12.2 kB / 331.4 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.904e-05/0.007134, allocations: 62.08 kB / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.007136, allocations: 3.984 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.007137, allocations: 4 kB / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.00714, allocations: 0 / 331.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.007307, allocations: 210.8 kB / 331.7 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.007308, allocations: 4 kB / 331.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/0.007331, allocations: 8 kB / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.007334, allocations: 7.922 kB / 331.7 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-06/0.00734, allocations: 4 kB / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.00734, allocations: 0 / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.007341, allocations: 0 / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.007675, allocations: 139.7 kB / 331.9 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.007684, allocations: 11.95 kB / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.007697, allocations: 15.92 kB / 331.9 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.383e-05/0.00773, allocations: 4 kB / 331.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.007752, allocations: 3.938 kB / 331.9 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.007755, allocations: 4 kB / 331.9 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.052e-05/0.007786, allocations: 40.83 kB / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007786, allocations: 0 / 332 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000157/0.007943, allocations: 35.88 kB / 332 MB, free: 0.8242 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 (5): * Single equations (assignments): 5 * 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.001222/0.009165, allocations: 0.6016 MB / 332.6 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.134e-05/0.009236, allocations: 20.84 kB / 332.6 MB, free: 500 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.00924, allocations: 4 kB / 332.6 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.072e-05/0.009261, allocations: 24.92 kB / 332.6 MB, free: 468 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.009407, allocations: 23.86 kB / 332.7 MB, free: 448 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.009666, allocations: 170.7 kB / 332.8 MB, free: 248 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.364e-05/0.0097, allocations: 63.34 kB / 332.9 MB, free: 164 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.513e-05/0.009735, allocations: 11.98 kB / 332.9 MB, free: 152 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.009796, allocations: 71.36 kB / 333 MB, free: 80 kB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009796, allocations: 0 / 333 MB, free: 80 kB / 298.7 MB Notification: Performance of Templates: time 0.003189/0.01298, allocations: 1.998 MB / 335 MB, free: 14.09 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.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.879488592967391]