Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001149/0.001149, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001498/0.001498, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.9984/0.9984, allocations: 177 MB / 205.9 MB, free: 4.449 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.1666/0.1666, allocations: 34.87 MB / 297.4 MB, free: 13.35 MB / 282.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/2.928e-05, allocations: 4.281 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002477/0.002507, allocations: 1.644 MB / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007821/0.003289, allocations: 0.5446 MB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.003363, allocations: 0 / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.003675, allocations: 75.7 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.004001, allocations: 103.5 kB / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.004332, allocations: 115.6 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.004493, allocations: 87.75 kB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.004602, allocations: 11.98 kB / 382.6 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.004666, allocations: 39.89 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.76e-05/0.004763, allocations: 51.88 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.004779, allocations: 4 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.626e-05/0.004855, allocations: 43.92 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.004904, allocations: 19.92 kB / 382.8 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.004935, allocations: 19.86 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.005093, allocations: 91.66 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.005096, allocations: 0 / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005097, allocations: 4 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.005102, allocations: 0 / 382.9 MB, free: 19.88 MB / 314.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.0003318/0.005434, allocations: 435.9 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.005474, allocations: 8.031 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.00551, allocations: 12.89 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.005628, allocations: 149 kB / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.005638, allocations: 384 / 383.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.005658, allocations: 12.33 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.756e-05/0.005755, allocations: 54.94 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.005764, allocations: 192 / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.005773, allocations: 8.359 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.005779, allocations: 8.375 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.455e-05/0.005803, allocations: 7.938 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002415/0.006045, allocations: 268.3 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.833e-05/0.006103, allocations: 43.03 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.006121, allocations: 11.69 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.006139, allocations: 4.078 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.006156, allocations: 37.39 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.006157, allocations: 0 / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004586/0.006616, allocations: 157.3 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.006643, allocations: 55.41 kB / 384.1 MB, free: 18.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.00675, allocations: 227.9 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.006759, allocations: 25.7 kB / 384.4 MB, free: 18.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.006811, allocations: 158.8 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.006836, allocations: 27.8 kB / 384.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.006869, allocations: 27.38 kB / 384.6 MB, free: 17.99 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.006935, allocations: 0.5 MB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.00695, allocations: 4 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.352e-05/0.006973, allocations: 11.98 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.166e-05/0.007015, allocations: 35.67 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.007016, allocations: 0 / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.27e-05/0.007099, allocations: 77.94 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.007113, allocations: 4 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.007118, allocations: 0 / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.007128, allocations: 3.984 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.007198, allocations: 12 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.007201, allocations: 4 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.007222, allocations: 7.984 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.007229, allocations: 4 kB / 385.2 MB, free: 17.31 MB / 314.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.846e-05/0.007288, allocations: 160.6 kB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.007311, allocations: 23.83 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.007442, allocations: 87.31 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.007446, allocations: 4 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.007447, allocations: 0 / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.007451, allocations: 3.984 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.007701, allocations: 345.6 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.007703, allocations: 0 / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.007745, allocations: 19.98 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.007748, allocations: 4.031 kB / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.007754, allocations: 0 / 385.9 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.007757, allocations: 4 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007758, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.487e-05/0.007853, allocations: 231.4 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.202e-05/0.007865, allocations: 19.89 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.007877, allocations: 4 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.309e-05/0.00791, allocations: 0 / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.007937, allocations: 7.984 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.007943, allocations: 8 kB / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.358e-05/0.007986, allocations: 155.8 kB / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.007986, allocations: 4 kB / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.008151, allocations: 16 kB / 386.3 MB, free: 16.15 MB / 314.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.0009845/0.009136, allocations: 441.6 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.624e-05/0.009222, allocations: 39.66 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009223, allocations: 0 / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.009247, allocations: 27.61 kB / 386.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.009452, allocations: 32.22 kB / 386.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.009746, allocations: 216.3 kB / 387 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.162e-05/0.009778, allocations: 71.2 kB / 387.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.575e-05/0.009814, allocations: 12.72 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.903e-05/0.009873, allocations: 82.2 kB / 387.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.009873, allocations: 0 / 387.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of Templates: time 0.003069/0.01294, allocations: 1.551 MB / 388.8 MB, free: 13.82 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.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.525887622963637]