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.0008892/0.0008892, allocations: 88.86 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.0009812/0.0009812, allocations: 160.9 kB / 24.91 MB, free: 8.719 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 1.05/1.05, allocations: 177 MB / 205.2 MB, free: 5.051 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.2786/0.2786, allocations: 34.86 MB / 296.6 MB, free: 408 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.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.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.86e-05, allocations: 3.859 kB / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002599/0.002628, allocations: 1.694 MB / 327.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008134/0.003441, allocations: 0.5563 MB / 328.2 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.003498, allocations: 0 / 328.2 MB, free: 4.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.003725, allocations: 31.72 kB / 328.3 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.003979, allocations: 75.56 kB / 328.3 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.004242, allocations: 115.6 kB / 328.4 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.004383, allocations: 71.84 kB / 328.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.309e-05/0.004466, allocations: 7.984 kB / 328.5 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.23e-05/0.004528, allocations: 39.91 kB / 328.6 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.0046, allocations: 23.91 kB / 328.6 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.004616, allocations: 7.938 kB / 328.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.004777, allocations: 99.81 kB / 328.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.004819, allocations: 19.91 kB / 328.7 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.004845, allocations: 15.94 kB / 328.7 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.005061, allocations: 143.5 kB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.005064, allocations: 0 / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005065, allocations: 4 kB / 328.9 MB, free: 4.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.005069, allocations: 0 / 328.9 MB, free: 4.18 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.0003387/0.005408, allocations: 302.4 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.005441, allocations: 8.031 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.005474, allocations: 12.92 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.00563, allocations: 129.7 kB / 329.3 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.005642, allocations: 8.375 kB / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.00566, allocations: 384 / 329.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.005776, allocations: 98.31 kB / 329.4 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.005786, allocations: 4.141 kB / 329.4 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.005793, allocations: 4.375 kB / 329.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.005798, allocations: 384 / 329.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.005821, allocations: 15.86 kB / 329.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.006081, allocations: 171.2 kB / 329.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.603e-05/0.006137, allocations: 37.33 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.006153, allocations: 8.859 kB / 329.7 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.00617, allocations: 0 / 329.7 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.006191, allocations: 30.56 kB / 329.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.914e-06/0.006193, allocations: 7.984 kB / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002895/0.006483, allocations: 109.5 kB / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.006518, allocations: 77.11 kB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.006629, allocations: 141.6 kB / 330 MB, free: 2.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.006642, allocations: 29.7 kB / 330 MB, free: 2.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.006681, allocations: 96.83 kB / 330.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.006698, allocations: 15.86 kB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.006733, allocations: 25.7 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.367e-05/0.006827, allocations: 318.8 kB / 330.5 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.006847, allocations: 14.81 kB / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.687e-05/0.006884, allocations: 47.36 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.168e-05/0.006926, allocations: 30.48 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.006927, allocations: 4.031 kB / 330.6 MB, free: 2.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.516e-05/0.007002, allocations: 60.5 kB / 330.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.007019, allocations: 8.781 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.007024, allocations: 3.938 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.007034, allocations: 0 / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.007102, allocations: 19.92 kB / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.007106, allocations: 0 / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.007129, allocations: 4 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.007135, allocations: 0 / 330.7 MB, free: 2.176 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 (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 6.75e-05/0.007202, allocations: 124.7 kB / 330.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.007222, allocations: 4 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.007334, allocations: 70.69 kB / 330.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.007337, allocations: 4 kB / 330.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.00734, allocations: 4 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007343, allocations: 0 / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.007586, allocations: 278.5 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.007588, allocations: 0 / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.007629, allocations: 23.86 kB / 331.2 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.007631, allocations: 3.938 kB / 331.2 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.007638, allocations: 8 kB / 331.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.007639, allocations: 0 / 331.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007641, allocations: 0 / 331.2 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.007745, allocations: 151.5 kB / 331.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.007762, allocations: 15.89 kB / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.007776, allocations: 0 / 331.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.007813, allocations: 7.984 kB / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.00784, allocations: 0 / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.007844, allocations: 0 / 331.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.548e-05/0.007889, allocations: 45.05 kB / 331.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00789, allocations: 0 / 331.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00018/0.00807, allocations: 39.88 kB / 331.4 MB, free: 1.352 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 (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.001532/0.009602, allocations: 0.6238 MB / 332.1 MB, free: 1.016 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.009712, allocations: 24.86 kB / 332.1 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.009719, allocations: 0 / 332.1 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.02e-05/0.009749, allocations: 28.72 kB / 332.1 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.009941, allocations: 23.92 kB / 332.1 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.01026, allocations: 175.2 kB / 332.3 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.258e-05/0.0103, allocations: 71.33 kB / 332.4 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.649e-05/0.01035, allocations: 13.03 kB / 332.4 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.01042, allocations: 67.36 kB / 332.5 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01042, allocations: 4 kB / 332.5 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of Templates: time 0.004288/0.01471, allocations: 2.222 MB / 334.7 MB, free: 14.35 MB / 314.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 -s gbode -gbm=radauIIA3 -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","",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.1178744570352137]