Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.0009685/0.0009685, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009272/0.0009272, allocations: 156.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 1.021/1.021, allocations: 177 MB / 204.8 MB, free: 5.586 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.2764/0.2764, allocations: 34.87 MB / 296.3 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.CombiTable2Dv.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 378.8 MB, free: 2.039 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.315e-05/2.49e-05, allocations: 2.312 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002543/0.002568, allocations: 1.71 MB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007893/0.003357, allocations: 0.5835 MB / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.00342, allocations: 0 / 381.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.003681, allocations: 55.67 kB / 381.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.003982, allocations: 99.48 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.004355, allocations: 171.5 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.004515, allocations: 91.75 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.004616, allocations: 20.16 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.004687, allocations: 51.89 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.004775, allocations: 39.89 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.004791, allocations: 4 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.004883, allocations: 47.92 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.506e-05/0.004948, allocations: 27.91 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.00498, allocations: 19.92 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.005144, allocations: 91.59 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.005149, allocations: 4 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.00515, allocations: 0 / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.005155, allocations: 0 / 381.8 MB, free: 15.01 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.0004287/0.005584, allocations: 443.9 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.005621, allocations: 8.031 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.00567, allocations: 20.84 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.005815, allocations: 149.7 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.005826, allocations: 4.375 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.005848, allocations: 8.375 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.005988, allocations: 70.92 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.006, allocations: 192 / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.006011, allocations: 384 / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.006019, allocations: 384 / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.901e-05/0.006058, allocations: 15.88 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.006416, allocations: 307.7 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.006624, allocations: 55.08 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.006651, allocations: 11.69 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.006673, allocations: 0 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.006699, allocations: 45.44 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.0067, allocations: 4 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006629/0.007363, allocations: 237.2 kB / 383.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.007399, allocations: 59.34 kB / 383.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.007514, allocations: 211.3 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.007528, allocations: 29.7 kB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.007585, allocations: 146.9 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.325e-05/0.007618, allocations: 47.56 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.007659, allocations: 35.36 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.007777, allocations: 0.4961 MB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.422e-05/0.007811, allocations: 16 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.612e-05/0.007838, allocations: 15.98 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.034e-05/0.007908, allocations: 48.02 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.007909, allocations: 0 / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001102/0.008019, allocations: 93.5 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.008034, allocations: 11.94 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.00804, allocations: 0 / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.008054, allocations: 0 / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.008124, allocations: 28.55 kB / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.008129, allocations: 0 / 384.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.008154, allocations: 7.984 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.008161, allocations: 4 kB / 384.4 MB, free: 12.21 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 6.936e-05/0.00823, allocations: 164.5 kB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.008255, allocations: 19.91 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.008423, allocations: 110.3 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.008427, allocations: 3.984 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.00843, allocations: 0 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.008433, allocations: 4 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.00877, allocations: 412.6 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.008772, allocations: 4.062 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-05/0.008827, allocations: 23.98 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.00883, allocations: 0 / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.008839, allocations: 4 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.008842, allocations: 4 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008843, allocations: 0 / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.008994, allocations: 267 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.009005, allocations: 7.953 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.009021, allocations: 4 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.2e-05/0.009063, allocations: 7.984 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.009106, allocations: 15.92 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.009111, allocations: 4 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.789e-05/0.009179, allocations: 163.6 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009179, allocations: 0 / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001727/0.009352, allocations: 27.94 kB / 385.6 MB, free: 10.9 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.001027/0.01038, allocations: 431.6 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.01053, allocations: 59.66 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.01054, allocations: 3.938 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.01058, allocations: 39.61 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.01081, allocations: 32.12 kB / 386.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004148/0.01123, allocations: 268.4 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.499e-05/0.01127, allocations: 75.33 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.538e-05/0.01133, allocations: 24.59 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.01137, allocations: 20.5 kB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01137, allocations: 0 / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of Templates: time 0.003786/0.01515, allocations: 1.766 MB / 388.3 MB, free: 8.285 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.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.150098580867052]