Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.001337/0.001337, allocations: 91.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.0009501/0.0009501, 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 1.079/1.079, allocations: 177 MB / 204.8 MB, free: 5.594 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.2886/0.2886, allocations: 34.86 MB / 296.3 MB, free: 0.5273 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.999e-05, allocations: 3.156 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002599/0.002629, allocations: 1.694 MB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007816/0.003411, allocations: 0.7985 MB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.003457, allocations: 4 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.003752, allocations: 35.7 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.003972, allocations: 43.83 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.968e-06/0.003976, allocations: 4 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.004136, allocations: 35.78 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.004173, allocations: 3.984 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.004211, allocations: 19.92 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.004265, allocations: 11.98 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.004278, allocations: 0 / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.194e-05/0.00433, allocations: 8 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.004378, allocations: 19.92 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.004403, allocations: 11.92 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.004542, allocations: 51.78 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004545, allocations: 4 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004546, allocations: 0 / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.004552, allocations: 0 / 381.5 MB, free: 15.31 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.0003699/0.004922, allocations: 400.3 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.004969, allocations: 8.031 kB / 381.9 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.005012, allocations: 8.891 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.005147, allocations: 116.5 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.005163, allocations: 4.375 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.005178, allocations: 4.375 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.005357, allocations: 116.3 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.005368, allocations: 4.188 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.005381, allocations: 4.375 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.676e-05/0.005438, allocations: 20.36 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.064e-05/0.005489, allocations: 35.78 kB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007322/0.006221, allocations: 1.2 MB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.006326, allocations: 265.4 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.006365, allocations: 126.9 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.006398, allocations: 127.2 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.00653, allocations: 156.6 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.006531, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.273e-05/0.006604, allocations: 45.53 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.006659, allocations: 170.6 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.006829, allocations: 255.8 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.677e-06/0.006838, allocations: 25.7 kB / 384.6 MB, free: 12.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.816e-05/0.006926, allocations: 194.3 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.006932, allocations: 11.98 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.006983, allocations: 47.33 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.00712, allocations: 0.4962 MB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.007145, allocations: 11.98 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.00725, allocations: 197.7 kB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.007572, allocations: 229.5 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.007577, allocations: 4 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002083/0.007785, allocations: 165.2 kB / 385.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.007799, allocations: 8 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.007806, allocations: 4 kB / 385.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.007827, allocations: 7.938 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.007922, allocations: 40.55 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.007933, allocations: 11.92 kB / 386 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.007989, allocations: 31.78 kB / 386 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.008, allocations: 15.94 kB / 386 MB, free: 10.37 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 9.898e-05/0.008099, allocations: 283.7 kB / 386.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.00815, allocations: 152.8 kB / 386.4 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.008207, allocations: 160.7 kB / 386.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.335e-05/0.00827, allocations: 272 kB / 386.9 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.849e-05/0.008329, allocations: 268.2 kB / 387.1 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.636e-05/0.008395, allocations: 272 kB / 387.4 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.008584, allocations: 0.5116 MB / 387.9 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.574e-05/0.00862, allocations: 152.9 kB / 388.1 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.008656, allocations: 152.8 kB / 388.2 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.193e-05/0.008718, allocations: 268.1 kB / 388.5 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/0.008785, allocations: 272 kB / 388.7 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.886e-05/0.008844, allocations: 264.1 kB / 389 MB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-05/0.008905, allocations: 276 kB / 389.3 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.009341, allocations: 452 kB / 389.7 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.009384, allocations: 156.8 kB / 389.9 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.009455, allocations: 268.1 kB / 390.1 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/0.009514, allocations: 148.8 kB / 390.3 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.009583, allocations: 272 kB / 390.5 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.009616, allocations: 152.9 kB / 390.7 MB, free: 5.516 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.426e-05/0.009691, allocations: 160 kB / 390.8 MB, free: 5.359 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009691, allocations: 0 / 390.8 MB, free: 5.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001946/0.009885, allocations: 16 kB / 390.9 MB, free: 5.344 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.0004663/0.01035, allocations: 322.1 kB / 391.2 MB, free: 5.059 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.01048, allocations: 68.41 kB / 391.2 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01048, allocations: 320 / 391.2 MB, free: 4.988 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.01048, allocations: 4 kB / 391.2 MB, free: 4.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.01078, allocations: 0.714 MB / 392 MB, free: 4.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.01106, allocations: 281.3 kB / 392.2 MB, free: 3.961 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.863e-05/0.0111, allocations: 63.84 kB / 392.3 MB, free: 3.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.276e-05/0.01118, allocations: 45.08 kB / 392.3 MB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.01121, allocations: 16.5 kB / 392.3 MB, free: 3.82 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01121, allocations: 0 / 392.3 MB, free: 3.82 MB / 362.7 MB Notification: Performance of Templates: time 0.002399/0.0136, allocations: 0.7218 MB / 393.1 MB, free: 3.105 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.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.4679650492034853]