Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001528/0.001528, allocations: 81.91 kB / 21.43 MB, free: 3.066 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.001257/0.001257, allocations: 164.4 kB / 24.82 MB, free: 9.273 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 1.004/1.004, allocations: 177 MB / 205.1 MB, free: 5.469 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.2772/0.2772, allocations: 34.86 MB / 296.6 MB, free: 0.4922 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.537e-05, allocations: 3.016 kB / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002135/0.002161, allocations: 1.69 MB / 380.9 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007378/0.002898, allocations: 0.564 MB / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.002963, allocations: 0 / 381.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004315/0.003395, allocations: 455.1 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.003748, allocations: 299.1 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.004058, allocations: 171.5 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.004243, allocations: 179.6 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.284e-05/0.004326, allocations: 16 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.004429, allocations: 119.8 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.004604, allocations: 243.6 kB / 383 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.004621, allocations: 4 kB / 383 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.63e-05/0.004687, allocations: 35.91 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.383e-05/0.004761, allocations: 87.66 kB / 383.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.004792, allocations: 35.75 kB / 383.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004252/0.005217, allocations: 195.2 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.00522, allocations: 0 / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005221, allocations: 4 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.005224, allocations: 0 / 383.3 MB, free: 13.73 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.0004619/0.005686, allocations: 0.7048 MB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.005719, allocations: 8.031 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.005764, allocations: 48.66 kB / 384.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.005925, allocations: 252.8 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.005935, allocations: 384 / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.00595, allocations: 8.312 kB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.491e-05/0.006035, allocations: 54.95 kB / 384.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.006043, allocations: 192 / 384.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.006049, allocations: 384 / 384.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.006054, allocations: 4.375 kB / 384.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.006075, allocations: 15.92 kB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002876/0.006363, allocations: 340.2 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.006477, allocations: 43.03 kB / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.006494, allocations: 19.77 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.006513, allocations: 0 / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.006532, allocations: 37.39 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.006533, allocations: 0 / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002576/0.00679, allocations: 129.2 kB / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.006813, allocations: 51.41 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.007159, allocations: 0.6079 MB / 385.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.00717, allocations: 25.7 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.007311, allocations: 302.7 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.007329, allocations: 15.8 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.007359, allocations: 27.36 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.007503, allocations: 0.5547 MB / 386.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.007514, allocations: 3.938 kB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.007527, allocations: 11.98 kB / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.007556, allocations: 19.69 kB / 386.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.007556, allocations: 0 / 386.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.964e-05/0.007636, allocations: 93.59 kB / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.639e-06/0.007646, allocations: 8 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.007649, allocations: 0 / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.007661, allocations: 8 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.073e-05/0.007702, allocations: 12 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.007705, allocations: 7.922 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.282e-05/0.007728, allocations: 0 / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.007732, allocations: 4 kB / 386.7 MB, free: 10.13 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 (5): * Single equations (assignments): 5 * 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.736e-05/0.007799, allocations: 152.6 kB / 386.8 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.007836, allocations: 47.66 kB / 386.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.007955, allocations: 97.17 kB / 387 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.007957, allocations: 0 / 387 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.007959, allocations: 4 kB / 387 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.007962, allocations: 0 / 387 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.008225, allocations: 385.9 kB / 387.4 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.008227, allocations: 3.938 kB / 387.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.008254, allocations: 11.98 kB / 387.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.008256, allocations: 0 / 387.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.00826, allocations: 0 / 387.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.008261, allocations: 0 / 387.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.008263, allocations: 4 kB / 387.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.00837, allocations: 247.6 kB / 387.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.008395, allocations: 43.61 kB / 387.7 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.008408, allocations: 0 / 387.7 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.008448, allocations: 7.984 kB / 387.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.008466, allocations: 0 / 387.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.00847, allocations: 192 / 387.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001952/0.008665, allocations: 394.7 kB / 388.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008665, allocations: 0 / 388.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001678/0.008833, allocations: 24 kB / 388.1 MB, free: 8.668 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 (5): * Single equations (assignments): 5 * 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.0007139/0.009547, allocations: 390.7 kB / 388.5 MB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.768e-05/0.009614, allocations: 27.67 kB / 388.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009616, allocations: 0 / 388.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.949e-05/0.009635, allocations: 23.61 kB / 388.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.009864, allocations: 33.91 kB / 388.5 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.01041, allocations: 0.5732 MB / 389.1 MB, free: 7.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.9e-05/0.01047, allocations: 123.2 kB / 389.2 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.527e-05/0.01051, allocations: 15.83 kB / 389.3 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.01056, allocations: 82.2 kB / 389.3 MB, free: 7.465 MB / 362.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01056, allocations: 0 / 389.3 MB, free: 7.465 MB / 362.7 MB Notification: Performance of Templates: time 0.003848/0.01441, allocations: 1.499 MB / 390.8 MB, free: 5.977 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.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.060565374791622]