Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001364/0.001364, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001588/0.001588, allocations: 164.9 kB / 24.99 MB, free: 8.219 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.9866/0.9866, allocations: 177 MB / 205.2 MB, free: 5.527 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.2579/0.2579, allocations: 34.86 MB / 296.6 MB, free: 0.5352 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.076e-05, allocations: 10.31 kB / 378.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002341/0.002372, allocations: 1.701 MB / 380.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008162/0.003188, allocations: 0.5797 MB / 381.1 MB, free: 76 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.003247, allocations: 0 / 381.1 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.00371, allocations: 463 kB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.004058, allocations: 299.1 kB / 381.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.004344, allocations: 167.5 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.004535, allocations: 183.6 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.004643, allocations: 16.22 kB / 382.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.004743, allocations: 119.8 kB / 382.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.004927, allocations: 251.5 kB / 382.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.004942, allocations: 4 kB / 382.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.138e-05/0.005023, allocations: 47.92 kB / 382.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.005231, allocations: 91.69 kB / 382.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.005273, allocations: 35.75 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.005495, allocations: 215.1 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.005499, allocations: 4 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.0055, allocations: 4 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.005504, allocations: 0 / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005321/0.006036, allocations: 0.7047 MB / 383.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.006071, allocations: 8.031 kB / 383.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.00613, allocations: 48.66 kB / 383.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.006319, allocations: 252.8 kB / 383.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.00633, allocations: 4.359 kB / 383.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.00635, allocations: 4.375 kB / 383.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.006467, allocations: 66.89 kB / 384 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.006478, allocations: 192 / 384 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.006487, allocations: 4.375 kB / 384 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.006495, allocations: 384 / 384 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.922e-05/0.006534, allocations: 15.92 kB / 384 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.006938, allocations: 443.6 kB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.159e-05/0.007, allocations: 39.06 kB / 384.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.007023, allocations: 11.77 kB / 384.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.007042, allocations: 7.938 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.007059, allocations: 33.39 kB / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.00706, allocations: 0 / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005536/0.007614, allocations: 268.6 kB / 384.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.007643, allocations: 51.41 kB / 384.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.008047, allocations: 0.6355 MB / 385.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.008058, allocations: 25.7 kB / 385.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.008192, allocations: 278.8 kB / 385.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.008217, allocations: 27.75 kB / 385.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.008251, allocations: 31.36 kB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003806/0.008631, allocations: 0.5547 MB / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.342e-05/0.008655, allocations: 7.984 kB / 386.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.896e-05/0.008674, allocations: 12 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.884e-05/0.008723, allocations: 35.67 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.008724, allocations: 0 / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001044/0.008828, allocations: 113.3 kB / 386.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.008841, allocations: 8 kB / 386.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.008845, allocations: 0 / 386.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.008856, allocations: 0 / 386.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.968e-05/0.008926, allocations: 15.98 kB / 386.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.008931, allocations: 0 / 386.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.008958, allocations: 8 kB / 386.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.008965, allocations: 4 kB / 386.6 MB, free: 10.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 7.433e-05/0.009039, allocations: 160.5 kB / 386.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.009075, allocations: 55.61 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.009228, allocations: 117.8 kB / 386.9 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.00923, allocations: 4.422 kB / 386.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.009233, allocations: 0 / 386.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.009236, allocations: 0 / 386.9 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.009618, allocations: 0.5125 MB / 387.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.00962, allocations: 0 / 387.4 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.171e-05/0.009662, allocations: 20.02 kB / 387.5 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.009664, allocations: 3.984 kB / 387.5 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.009672, allocations: 4 kB / 387.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.009674, allocations: 0 / 387.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.009675, allocations: 0 / 387.5 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.009806, allocations: 275.2 kB / 387.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.634e-05/0.009833, allocations: 39.7 kB / 387.8 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.009849, allocations: 0 / 387.8 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.276e-05/0.009892, allocations: 4 kB / 387.8 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.009928, allocations: 11.92 kB / 387.8 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.009934, allocations: 4 kB / 387.8 MB, free: 9.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002364/0.01017, allocations: 430.8 kB / 388.2 MB, free: 8.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01017, allocations: 0 / 388.2 MB, free: 8.598 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.01035, allocations: 28 kB / 388.2 MB, free: 8.57 MB / 362.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 (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.0008421/0.01119, allocations: 429.8 kB / 388.7 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.01129, allocations: 43.66 kB / 388.7 MB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01129, allocations: 0 / 388.7 MB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.189e-05/0.01133, allocations: 31.61 kB / 388.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.01157, allocations: 36.81 kB / 388.8 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005928/0.01216, allocations: 0.6079 MB / 389.4 MB, free: 7.523 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.713e-05/0.01224, allocations: 131.2 kB / 389.5 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.418e-05/0.01229, allocations: 20.72 kB / 389.5 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.01232, allocations: 16.5 kB / 389.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01232, allocations: 0 / 389.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of Templates: time 0.003816/0.01613, allocations: 1.644 MB / 391.2 MB, free: 5.707 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.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.1125486730597913]