Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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.000964/0.000964, 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.001259/0.001259, allocations: 168.2 kB / 24.82 MB, free: 9.277 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.9753/0.9753, allocations: 177 MB / 205.1 MB, free: 5.465 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.2401/0.2401, allocations: 34.87 MB / 296.6 MB, free: 460 kB / 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.743e-05, allocations: 3.297 kB / 379.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002037/0.002054, allocations: 1.647 MB / 380.9 MB, free: 140 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007047/0.002759, allocations: 0.5213 MB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.00282, allocations: 0 / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.0033, allocations: 459 kB / 381.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.003677, allocations: 295.2 kB / 382.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.003893, allocations: 115.7 kB / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.004067, allocations: 171.6 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.666e-05/0.004144, allocations: 12.16 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.004247, allocations: 111.8 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.004421, allocations: 243.6 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.004434, allocations: 0 / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.389e-05/0.004487, allocations: 27.92 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.7e-05/0.004564, allocations: 83.7 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.004592, allocations: 31.75 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.004761, allocations: 191.2 kB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004763, allocations: 0 / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004764, allocations: 0 / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.004767, allocations: 4 kB / 383.1 MB, free: 13.9 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004665/0.005234, allocations: 0.6931 MB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.005266, allocations: 8.031 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.005307, allocations: 44.66 kB / 383.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.005464, allocations: 236.9 kB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.005472, allocations: 4.375 kB / 384.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-06/0.005479, allocations: 4.312 kB / 384.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.078e-05/0.005559, allocations: 58.94 kB / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.005565, allocations: 4.125 kB / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-06/0.005571, allocations: 384 / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.005577, allocations: 8.125 kB / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.396e-05/0.005591, allocations: 4 kB / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.005864, allocations: 324.3 kB / 384.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/0.005904, allocations: 34.98 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.266e-05/0.005917, allocations: 11.75 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.00594, allocations: 3.984 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.005959, allocations: 33.39 kB / 384.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.00596, allocations: 4 kB / 384.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001255/0.006086, allocations: 81.36 kB / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.006112, allocations: 59.47 kB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.00649, allocations: 0.604 MB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.006501, allocations: 25.7 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.006647, allocations: 294.7 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.006661, allocations: 3.953 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.006686, allocations: 19.38 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.006847, allocations: 0.5586 MB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.006857, allocations: 4 kB / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.263e-06/0.006864, allocations: 0 / 386.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.452e-05/0.006888, allocations: 11.75 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00689, allocations: 4 kB / 386.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.605e-05/0.006956, allocations: 85.34 kB / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.006969, allocations: 11.94 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006974, allocations: 0 / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.006984, allocations: 0 / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.993e-05/0.007034, allocations: 4 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.007037, allocations: 0 / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.007058, allocations: 0 / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.007062, allocations: 4 kB / 386.3 MB, free: 10.47 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 (2): * Single equations (assignments): 2 * 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.218e-05/0.007134, allocations: 156.6 kB / 386.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.007168, allocations: 47.7 kB / 386.5 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.256e-05/0.00726, allocations: 76.69 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.007261, allocations: 0 / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.007263, allocations: 3.984 kB / 386.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.007267, allocations: 4 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.007422, allocations: 201 kB / 386.8 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.007422, allocations: 0 / 386.8 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.719e-05/0.007439, allocations: 7.938 kB / 386.8 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.007441, allocations: 0 / 386.8 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.007445, allocations: 8.031 kB / 386.8 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.007446, allocations: 0 / 386.8 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007447, allocations: 3.938 kB / 386.8 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.007559, allocations: 227.7 kB / 387.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.007581, allocations: 31.72 kB / 387.1 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.007594, allocations: 0 / 387.1 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-05/0.007629, allocations: 7.984 kB / 387.1 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.032e-05/0.00764, allocations: 7.938 kB / 387.1 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.007641, allocations: 0 / 387.1 MB, free: 9.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001917/0.007833, allocations: 390.7 kB / 387.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007833, allocations: 0 / 387.5 MB, free: 9.262 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001554/0.007989, allocations: 23.97 kB / 387.5 MB, free: 9.238 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 (2): * Single equations (assignments): 2 * 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.000681/0.00867, allocations: 329.1 kB / 387.8 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.646e-05/0.008746, allocations: 15.67 kB / 387.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.008748, allocations: 0 / 387.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.668e-06/0.008758, allocations: 11.69 kB / 387.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.00902, allocations: 25.17 kB / 387.9 MB, free: 8.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006455/0.009666, allocations: 0.5588 MB / 388.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.975e-05/0.009745, allocations: 119.2 kB / 388.6 MB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.897e-05/0.009774, allocations: 4 kB / 388.6 MB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.009832, allocations: 78.19 kB / 388.6 MB, free: 8.137 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009832, allocations: 0 / 388.6 MB, free: 8.137 MB / 362.7 MB Notification: Performance of Templates: time 0.003408/0.01324, allocations: 1.236 MB / 389.9 MB, free: 6.914 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.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.9346185848116875]