Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.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.001038/0.001038, 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.000932/0.000932, allocations: 156.5 kB / 24.55 MB, free: 20 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.9352/0.9352, allocations: 177 MB / 204.8 MB, free: 5.59 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.2818/0.2818, allocations: 34.88 MB / 296.3 MB, free: 0.5508 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.758e-05, allocations: 3.859 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002803/0.002831, allocations: 1.657 MB / 380.4 MB, free: 424 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000806/0.003637, allocations: 0.5252 MB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.003685, allocations: 0 / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.004211, allocations: 459 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.00466, allocations: 287.2 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.004959, allocations: 131.6 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.005179, allocations: 155.7 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.681e-05/0.005266, allocations: 12.17 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.005393, allocations: 123.6 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.005622, allocations: 235.7 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.005642, allocations: 4 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.478e-05/0.005717, allocations: 31.91 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.00582, allocations: 83.66 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.005865, allocations: 35.75 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.006114, allocations: 187.2 kB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.006118, allocations: 0 / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.006119, allocations: 0 / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.006125, allocations: 0 / 382.7 MB, free: 14.17 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.000638/0.006763, allocations: 0.6854 MB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.006801, allocations: 8.031 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.024e-05/0.006871, allocations: 52.66 kB / 383.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.007084, allocations: 240.9 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.007094, allocations: 4.375 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.007103, allocations: 384 / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.007226, allocations: 58.95 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.007233, allocations: 192 / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.007242, allocations: 4.312 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.00725, allocations: 8.125 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.621e-05/0.007276, allocations: 4 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.007717, allocations: 415.7 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.952e-05/0.007776, allocations: 35.06 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.007797, allocations: 11.62 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.007817, allocations: 8.047 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.00784, allocations: 37.33 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.007841, allocations: 0 / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001786/0.00802, allocations: 89.34 kB / 384.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.00805, allocations: 51.41 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000514/0.008564, allocations: 0.6238 MB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.008576, allocations: 25.7 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.00875, allocations: 290.9 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.008768, allocations: 3.953 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.008803, allocations: 23.38 kB / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.008975, allocations: 0.547 MB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.008995, allocations: 7.938 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.105e-05/0.009006, allocations: 3.984 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.252e-05/0.009038, allocations: 11.69 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.00904, allocations: 0 / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.402e-05/0.009134, allocations: 85.36 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.009147, allocations: 4.094 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.009152, allocations: 4 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.009164, allocations: 0 / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.009238, allocations: 7.984 kB / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.009243, allocations: 0 / 386 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.009276, allocations: 7.938 kB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.009281, allocations: 0 / 386 MB, free: 10.63 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 8.586e-05/0.009367, allocations: 152.6 kB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.009417, allocations: 51.66 kB / 386.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.009556, allocations: 72.73 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.009558, allocations: 4.031 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.009562, allocations: 0 / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.009564, allocations: 0 / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.01009, allocations: 280.5 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01009, allocations: 0 / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.01012, allocations: 4 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01013, allocations: 0 / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.01013, allocations: 3.938 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01014, allocations: 0 / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01014, allocations: 0 / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.01028, allocations: 235.6 kB / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.01031, allocations: 35.72 kB / 386.8 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.01033, allocations: 7.938 kB / 386.8 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.423e-05/0.0104, allocations: 7.922 kB / 386.8 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.01041, allocations: 0 / 386.8 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.01042, allocations: 0 / 386.8 MB, free: 9.719 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003148/0.01073, allocations: 434.8 kB / 387.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01073, allocations: 0 / 387.3 MB, free: 9.297 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.01097, allocations: 15.94 kB / 387.3 MB, free: 9.281 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.0008006/0.01177, allocations: 324.9 kB / 387.6 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.348e-05/0.01186, allocations: 19.62 kB / 387.6 MB, free: 9.031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01186, allocations: 0 / 387.6 MB, free: 9.031 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.39e-05/0.01187, allocations: 15.69 kB / 387.6 MB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.0122, allocations: 28.89 kB / 387.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.01341, allocations: 0.555 MB / 388.2 MB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.925e-05/0.0135, allocations: 119.2 kB / 388.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.116e-05/0.01353, allocations: 4 kB / 388.3 MB, free: 8.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.01356, allocations: 16.5 kB / 388.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01356, allocations: 0 / 388.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of Templates: time 0.004212/0.01777, allocations: 1.207 MB / 389.5 MB, free: 7.043 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.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.0291567044332623]