Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.001082/0.001082, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001069/0.001069, allocations: 167.1 kB / 24.99 MB, free: 9.32 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.9358/0.9358, allocations: 177 MB / 205.2 MB, free: 5.164 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.2393/0.2393, allocations: 34.86 MB / 296.6 MB, free: 0.5312 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.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 378.7 MB, free: 2.391 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.606e-05/3.772e-05, allocations: 5.125 kB / 378.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002703/0.002741, allocations: 1.696 MB / 380.4 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000592/0.003333, allocations: 0.8063 MB / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.003368, allocations: 0 / 381.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000217/0.003585, allocations: 27.8 kB / 381.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.00377, allocations: 47.75 kB / 381.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.416e-06/0.003774, allocations: 0 / 381.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.003914, allocations: 31.84 kB / 381.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.003948, allocations: 4 kB / 381.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.766e-05/0.003986, allocations: 23.91 kB / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.853e-05/0.004034, allocations: 11.92 kB / 381.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.004045, allocations: 4 kB / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.357e-05/0.004088, allocations: 8 kB / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.004133, allocations: 19.92 kB / 381.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.004155, allocations: 11.92 kB / 381.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.00427, allocations: 51.78 kB / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.004272, allocations: 0 / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.004272, allocations: 0 / 381.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.004277, allocations: 0 / 381.5 MB, free: 15.62 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003201/0.004597, allocations: 400.3 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.004632, allocations: 8.031 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.787e-05/0.00467, allocations: 8.891 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.004774, allocations: 116.5 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.004786, allocations: 8.359 kB / 382 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.004796, allocations: 8.359 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.004917, allocations: 116.3 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.004924, allocations: 192 / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.004933, allocations: 384 / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/0.004975, allocations: 20.36 kB / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.005012, allocations: 39.8 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.00548, allocations: 1.196 MB / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.783e-05/0.005558, allocations: 265.5 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.005592, allocations: 126.9 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.005617, allocations: 123.2 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.005658, allocations: 164.6 kB / 384.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.005659, allocations: 3.938 kB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.773e-05/0.005717, allocations: 41.53 kB / 384.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.005772, allocations: 170.6 kB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.005914, allocations: 255.8 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.005921, allocations: 29.7 kB / 384.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.005996, allocations: 194.3 kB / 384.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.34e-06/0.006001, allocations: 8 kB / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.006043, allocations: 47.31 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.006146, allocations: 0.5001 MB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.006165, allocations: 8 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.006256, allocations: 201.2 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.006388, allocations: 229.4 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.006393, allocations: 3.984 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003235/0.006717, allocations: 169.5 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.00673, allocations: 4 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.006737, allocations: 8 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.006752, allocations: 7.938 kB / 385.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.752e-05/0.006839, allocations: 35.92 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.006848, allocations: 11.94 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.048e-05/0.006898, allocations: 27.78 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-06/0.006907, allocations: 8 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 8.401e-05/0.006991, allocations: 296 kB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.007035, allocations: 152.8 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/0.00708, allocations: 156.7 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.114e-05/0.007131, allocations: 272 kB / 386.9 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.974e-05/0.007181, allocations: 268.2 kB / 387.1 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.145e-05/0.007232, allocations: 276 kB / 387.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.007391, allocations: 0.5077 MB / 387.9 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.944e-05/0.00742, allocations: 152.9 kB / 388 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.007449, allocations: 148.8 kB / 388.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.062e-05/0.007499, allocations: 264.1 kB / 388.4 MB, free: 8.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/0.007551, allocations: 276 kB / 388.7 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.646e-05/0.007598, allocations: 264.1 kB / 389 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.395e-05/0.007652, allocations: 272 kB / 389.2 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.007759, allocations: 459.9 kB / 389.7 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.007795, allocations: 156.8 kB / 389.8 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.007856, allocations: 272 kB / 390.1 MB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.121e-05/0.007907, allocations: 148.9 kB / 390.2 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.007965, allocations: 272 kB / 390.5 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.007995, allocations: 152.9 kB / 390.7 MB, free: 5.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.102e-05/0.008056, allocations: 160 kB / 390.8 MB, free: 5.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008056, allocations: 0 / 390.8 MB, free: 5.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.008231, allocations: 16 kB / 390.8 MB, free: 5.656 MB / 362.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 (0): * Single equations (assignments): 0 * 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.0003828/0.008614, allocations: 318.3 kB / 391.1 MB, free: 5.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.008717, allocations: 63.48 kB / 391.2 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.008718, allocations: 3.938 kB / 391.2 MB, free: 5.305 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.008719, allocations: 1.25 kB / 391.2 MB, free: 5.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.008987, allocations: 0.7101 MB / 391.9 MB, free: 4.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.009237, allocations: 289.3 kB / 392.2 MB, free: 4.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.556e-05/0.009273, allocations: 63.83 kB / 392.3 MB, free: 4.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.16e-05/0.009354, allocations: 49.08 kB / 392.3 MB, free: 4.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.009375, allocations: 12.5 kB / 392.3 MB, free: 4.137 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.009376, allocations: 0 / 392.3 MB, free: 4.137 MB / 362.7 MB Notification: Performance of Templates: time 0.002297/0.01167, allocations: 0.7325 MB / 393.1 MB, free: 3.414 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.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.8904097229242325]