Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.00102/0.00102, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001068/0.001068, 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 0.9707/0.9707, allocations: 177 MB / 204.8 MB, free: 5.598 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.2642/0.2642, allocations: 34.86 MB / 296.3 MB, free: 0.5312 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.107e-05, allocations: 6.312 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003465/0.003496, allocations: 1.69 MB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.004624, allocations: 0.5563 MB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.004689, allocations: 0 / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005055/0.005195, allocations: 455.1 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.005591, allocations: 299.2 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.005858, allocations: 127.5 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.006095, allocations: 175.6 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.006199, allocations: 11.86 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.006323, allocations: 115.8 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.006787, allocations: 251.6 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.006805, allocations: 4 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.515e-05/0.00688, allocations: 27.94 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.094e-05/0.006971, allocations: 87.7 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.007009, allocations: 35.75 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.007227, allocations: 195.2 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.007231, allocations: 0 / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.007232, allocations: 0 / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.007238, allocations: 0 / 382.8 MB, free: 14.05 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.0005657/0.007804, allocations: 0.6931 MB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.00784, allocations: 16.02 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.0079, allocations: 44.66 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.008091, allocations: 244.9 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.008102, allocations: 8.312 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.008121, allocations: 384 / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.008239, allocations: 70.92 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.008249, allocations: 192 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.008258, allocations: 384 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.008265, allocations: 384 / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.291e-05/0.008298, allocations: 11.94 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.00873, allocations: 435.5 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.008913, allocations: 47.05 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.008934, allocations: 11.69 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.008954, allocations: 4 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.008974, allocations: 37.33 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.008975, allocations: 0 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003918/0.009367, allocations: 188.8 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.009395, allocations: 51.41 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/0.009788, allocations: 0.6277 MB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.0098, allocations: 33.7 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.00994, allocations: 278.8 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.009962, allocations: 19.83 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.009994, allocations: 23.38 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.01014, allocations: 0.5508 MB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.01015, allocations: 7.938 kB / 386.1 MB, free: 10.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.01017, allocations: 8 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.808e-05/0.01021, allocations: 23.69 kB / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01021, allocations: 0 / 386.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.982e-05/0.01031, allocations: 93.34 kB / 386.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.01032, allocations: 11.94 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.01032, allocations: 4 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.01034, allocations: 0 / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.983e-05/0.01039, allocations: 15.92 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.01039, allocations: 0 / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.01042, allocations: 4 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.01042, allocations: 4 kB / 386.3 MB, free: 10.29 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 7.208e-05/0.01049, allocations: 156.6 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.01053, allocations: 47.66 kB / 386.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.01065, allocations: 101.4 kB / 386.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01066, allocations: 4 kB / 386.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01066, allocations: 4.062 kB / 386.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01066, allocations: 0 / 386.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.01098, allocations: 469.3 kB / 387.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01098, allocations: 0 / 387.1 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.01102, allocations: 11.98 kB / 387.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01102, allocations: 0 / 387.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.01102, allocations: 0 / 387.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01103, allocations: 0 / 387.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01103, allocations: 0 / 387.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.01115, allocations: 251.5 kB / 387.3 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.01117, allocations: 35.72 kB / 387.4 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.01118, allocations: 0 / 387.4 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.723e-05/0.01123, allocations: 8 kB / 387.4 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.01126, allocations: 3.984 kB / 387.4 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.01126, allocations: 4 kB / 387.4 MB, free: 9.137 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002373/0.0115, allocations: 426.8 kB / 387.8 MB, free: 8.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0115, allocations: 0 / 387.8 MB, free: 8.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001743/0.01168, allocations: 23.94 kB / 387.8 MB, free: 8.699 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.0007837/0.01246, allocations: 379.2 kB / 388.2 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.921e-05/0.01255, allocations: 35.55 kB / 388.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01255, allocations: 0 / 388.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.284e-05/0.01257, allocations: 23.69 kB / 388.2 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.01281, allocations: 29.89 kB / 388.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.01338, allocations: 0.5708 MB / 388.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.628e-05/0.01345, allocations: 115.3 kB / 389 MB, free: 7.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.162e-05/0.01348, allocations: 19.97 kB / 389 MB, free: 7.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.01351, allocations: 12.5 kB / 389 MB, free: 7.578 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01351, allocations: 0 / 389 MB, free: 7.578 MB / 362.7 MB Notification: Performance of Templates: time 0.003974/0.01748, allocations: 1.46 MB / 390.5 MB, free: 6.133 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.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.997009280603379]