Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001219/0.001219, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001235/0.001235, allocations: 169.2 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 0.9715/0.9715, allocations: 177 MB / 205.1 MB, free: 5.488 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.249/0.249, allocations: 34.87 MB / 296.6 MB, free: 0.5156 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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.623e-05, allocations: 3.156 kB / 379.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002029/0.002046, allocations: 1.648 MB / 380.9 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007334/0.002779, allocations: 0.5408 MB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.001e-05/0.002839, allocations: 4 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.003104, allocations: 107.7 kB / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000266/0.00337, allocations: 123.5 kB / 381.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.003609, allocations: 115.5 kB / 381.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.004004, allocations: 91.73 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.492e-05/0.004089, allocations: 8 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.00416, allocations: 55.88 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.514e-05/0.004256, allocations: 67.86 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.004269, allocations: 4 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.359e-05/0.004342, allocations: 47.86 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.004385, allocations: 31.91 kB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.004407, allocations: 11.92 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.004539, allocations: 99.61 kB / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004542, allocations: 3.984 kB / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004542, allocations: 0 / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.004546, allocations: 0 / 382.2 MB, free: 14.86 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.0003472/0.004893, allocations: 459.7 kB / 382.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.004926, allocations: 8.031 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.004961, allocations: 16.84 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.005079, allocations: 153.2 kB / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.005087, allocations: 4.312 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.005104, allocations: 8.375 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.233e-05/0.005186, allocations: 50.95 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.005195, allocations: 4.172 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.005202, allocations: 4.375 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.005208, allocations: 4.375 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.00523, allocations: 11.88 kB / 382.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.005456, allocations: 280.4 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.607e-05/0.005502, allocations: 35.06 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.005518, allocations: 15.77 kB / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.005537, allocations: 0 / 383.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.005556, allocations: 37.33 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.005556, allocations: 4 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003972/0.005954, allocations: 149.3 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.005976, allocations: 59.41 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.006103, allocations: 266.9 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.006111, allocations: 25.7 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.006165, allocations: 162.8 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.006187, allocations: 27.73 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.006214, allocations: 23.38 kB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.006318, allocations: 0.5079 MB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.006331, allocations: 4 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.006345, allocations: 8 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.673e-05/0.006382, allocations: 39.61 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.006383, allocations: 0 / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.082e-05/0.006453, allocations: 81.75 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.006463, allocations: 4 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.006467, allocations: 80 / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.006477, allocations: 0 / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.636e-05/0.006534, allocations: 23.98 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.006538, allocations: 3.984 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.665e-05/0.006554, allocations: 0 / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.00656, allocations: 7.938 kB / 384.6 MB, free: 12.2 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 (8): * Single equations (assignments): 8 * 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 5.973e-05/0.00662, allocations: 160.5 kB / 384.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.006643, allocations: 24.27 kB / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.006748, allocations: 87.12 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.00675, allocations: 0 / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.006752, allocations: 7.984 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006755, allocations: 0 / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.006992, allocations: 349.6 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.006993, allocations: 0 / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.007026, allocations: 15.98 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.007027, allocations: 0 / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.007033, allocations: 7.938 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007033, allocations: 0 / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.007034, allocations: 4.031 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.007135, allocations: 235.5 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.007145, allocations: 11.91 kB / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.007155, allocations: 3.984 kB / 385.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.161e-05/0.007187, allocations: 4 kB / 385.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.113e-05/0.007208, allocations: 11.98 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.007211, allocations: 0 / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.007272, allocations: 175.1 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007272, allocations: 0 / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001541/0.007426, allocations: 31.86 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0007741/0.008201, allocations: 428.7 kB / 386.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.784e-05/0.008278, allocations: 43.64 kB / 386.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.00828, allocations: 4 kB / 386.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.444e-05/0.008305, allocations: 27.61 kB / 386.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.008493, allocations: 19.92 kB / 386.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.008796, allocations: 253.5 kB / 386.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.896e-05/0.008835, allocations: 75.39 kB / 386.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.192e-05/0.008867, allocations: 12.72 kB / 386.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.008919, allocations: 86.19 kB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.00892, allocations: 0 / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of Templates: time 0.002787/0.01171, allocations: 1.559 MB / 388.2 MB, free: 8.609 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.9497809768654406]