Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.00142/0.00142, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001274/0.001274, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9902/0.9902, allocations: 177 MB / 204.8 MB, free: 5.562 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.2753/0.2753, allocations: 34.86 MB / 296.3 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.389e-06/4.389e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/2.286e-05, allocations: 3.297 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002181/0.002204, allocations: 1.733 MB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008564/0.00306, allocations: 0.5757 MB / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.003127, allocations: 0 / 381.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.003469, allocations: 47.75 kB / 381.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.003816, allocations: 95.53 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.004201, allocations: 175.5 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.004394, allocations: 91.73 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.004517, allocations: 8.234 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.641e-05/0.004603, allocations: 55.81 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.004718, allocations: 35.89 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.00474, allocations: 4 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.004848, allocations: 51.92 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.463e-05/0.004933, allocations: 27.92 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.004982, allocations: 19.91 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.005169, allocations: 95.59 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.005172, allocations: 3.938 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005172, allocations: 0 / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.005178, allocations: 0 / 381.8 MB, free: 15.04 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.0005038/0.005682, allocations: 436 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.005728, allocations: 12.03 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.005785, allocations: 20.83 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.00595, allocations: 148.3 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.005962, allocations: 4.375 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.005988, allocations: 8.375 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.006122, allocations: 66.88 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.006134, allocations: 192 / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.006146, allocations: 4.375 kB / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.006155, allocations: 384 / 382.5 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.365e-05/0.006199, allocations: 15.92 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.006608, allocations: 307.6 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.006798, allocations: 51.03 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.006824, allocations: 15.69 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.006843, allocations: 7.938 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.006866, allocations: 41.45 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.006867, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006143/0.007481, allocations: 237.8 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.007515, allocations: 55.41 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.007634, allocations: 216.7 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.007648, allocations: 29.7 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.007702, allocations: 146.9 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.007733, allocations: 39.64 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.007769, allocations: 35.38 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.007884, allocations: 0.4961 MB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.007918, allocations: 16.05 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/0.007946, allocations: 19.98 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.984e-05/0.008015, allocations: 51.56 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.008016, allocations: 4 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001088/0.008125, allocations: 89.89 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.008139, allocations: 8 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.008145, allocations: 0 / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.00816, allocations: 4 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/0.008226, allocations: 23.98 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.008232, allocations: 0 / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.008256, allocations: 4 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.008264, allocations: 4 kB / 384.4 MB, free: 12.25 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 (11): * Single equations (assignments): 11 * 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.963e-05/0.008343, allocations: 176.4 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.008367, allocations: 11.91 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.008527, allocations: 114.4 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.008529, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.008533, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.008535, allocations: 0 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.008859, allocations: 416.6 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.008861, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.008911, allocations: 27.92 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.008914, allocations: 0 / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.008924, allocations: 8 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.008926, allocations: 4.062 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.008928, allocations: 4 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.009089, allocations: 263.1 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.009098, allocations: 7.953 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.009113, allocations: 4 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.051e-05/0.009154, allocations: 7.984 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.009194, allocations: 15.86 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.009199, allocations: 4 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.337e-05/0.009263, allocations: 160.2 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009263, allocations: 0 / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.009431, allocations: 24 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008641/0.0103, allocations: 433.1 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.01043, allocations: 67.47 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01043, allocations: 4 kB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.467e-05/0.01048, allocations: 35.61 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.0107, allocations: 33.22 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.01108, allocations: 272.6 kB / 386.4 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.402e-05/0.01113, allocations: 71.33 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.01118, allocations: 24.47 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.01122, allocations: 20.5 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01122, allocations: 0 / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003399/0.01462, allocations: 1.744 MB / 388.3 MB, free: 8.332 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.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.1815630169585347]