Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.0008339/0.0008339, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.0008904/0.0008904, allocations: 156.5 kB / 24.55 MB, free: 8 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.024/1.024, allocations: 177 MB / 204.8 MB, free: 5.57 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.2732/0.2732, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.416e-05, allocations: 2.875 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002142/0.002166, allocations: 1.703 MB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.003358, allocations: 1.316 MB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.003404, allocations: 0 / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.003586, allocations: 31.78 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.003875, allocations: 87.48 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.004239, allocations: 175.4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.004408, allocations: 75.83 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.004521, allocations: 23.92 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.385e-05/0.004595, allocations: 39.89 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.004702, allocations: 27.91 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.004719, allocations: 4 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.00489, allocations: 95.81 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.004964, allocations: 19.92 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.005001, allocations: 19.92 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.005238, allocations: 139.5 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.00524, allocations: 3.938 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.005242, allocations: 4 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.005246, allocations: 0 / 382.5 MB, free: 14.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004395/0.005686, allocations: 436 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.005718, allocations: 8.031 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.005768, allocations: 8.891 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.00593, allocations: 144.4 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.005942, allocations: 8.375 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.005959, allocations: 384 / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.006118, allocations: 116 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.006128, allocations: 192 / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.006137, allocations: 384 / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.006145, allocations: 384 / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.718e-05/0.006182, allocations: 27.91 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.006481, allocations: 287.7 kB / 383.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.684e-05/0.006548, allocations: 42.98 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.00657, allocations: 15.69 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.006585, allocations: 0 / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.006609, allocations: 45.33 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.00661, allocations: 0 / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003441/0.006954, allocations: 129.5 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.006988, allocations: 85.11 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.007092, allocations: 196.2 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.007103, allocations: 25.7 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.00715, allocations: 142.9 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.007172, allocations: 27.75 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.007204, allocations: 31.36 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.007367, allocations: 0.4884 MB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.007397, allocations: 8 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-05/0.007443, allocations: 61 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.066e-05/0.007494, allocations: 31.62 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.007495, allocations: 0 / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001042/0.007599, allocations: 77.61 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.007612, allocations: 4 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.007616, allocations: 0 / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.007631, allocations: 0 / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.00772, allocations: 15.98 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.007728, allocations: 4 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.007758, allocations: 7.984 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.007766, allocations: 4 kB / 385 MB, free: 11.62 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 (7): * Single equations (assignments): 7 * 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.195e-05/0.007848, allocations: 160.5 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.007872, allocations: 19.89 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.00802, allocations: 82.73 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.008022, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.008027, allocations: 4 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.008033, allocations: 3.984 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.008308, allocations: 341.3 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.008309, allocations: 0 / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.008349, allocations: 15.98 kB / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.008352, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.008359, allocations: 0 / 385.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.008361, allocations: 8 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.008362, allocations: 0 / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.008491, allocations: 223.8 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.008501, allocations: 7.953 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.008516, allocations: 8 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.008554, allocations: 7.984 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.008582, allocations: 0 / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.008587, allocations: 4 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.543e-05/0.008653, allocations: 153.8 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008653, allocations: 0 / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001931/0.008846, allocations: 47.8 kB / 386 MB, free: 10.48 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 (7): * Single equations (assignments): 7 * 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.0008919/0.009738, allocations: 482 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.009853, allocations: 47.59 kB / 386.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.009854, allocations: 4 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.028e-05/0.009885, allocations: 27.69 kB / 386.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.01008, allocations: 27.88 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005261/0.0106, allocations: 204.8 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.847e-05/0.01066, allocations: 63.34 kB / 386.9 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.564e-05/0.01076, allocations: 25 kB / 386.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.01082, allocations: 24.44 kB / 386.9 MB, free: 9.672 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01082, allocations: 0 / 386.9 MB, free: 9.672 MB / 362.7 MB Notification: Performance of Templates: time 0.003418/0.01424, allocations: 2.186 MB / 389.1 MB, free: 7.504 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.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.0797288389876485]