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.001003/0.001003, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001019/0.001019, allocations: 165.2 kB / 24.99 MB, free: 8.219 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.9164/0.9164, allocations: 177 MB / 205.2 MB, free: 5.52 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.2556/0.2556, allocations: 34.86 MB / 296.6 MB, free: 0.5273 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.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 2.003e-06/2.003e-06, allocations: 0 / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.797e-05, allocations: 2.312 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002446/0.002474, allocations: 1.646 MB / 380.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007237/0.003197, allocations: 0.5291 MB / 380.9 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.003246, allocations: 0 / 380.9 MB, free: 216 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.00369, allocations: 455.1 kB / 381.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003563/0.004046, allocations: 299.1 kB / 381.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.004266, allocations: 127.6 kB / 381.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.004453, allocations: 155.7 kB / 382 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.386e-05/0.004547, allocations: 12.17 kB / 382 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.004654, allocations: 115.7 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.004835, allocations: 243.6 kB / 382.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.004849, allocations: 0 / 382.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.928e-05/0.004908, allocations: 27.92 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.69e-05/0.004995, allocations: 87.66 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.005031, allocations: 31.75 kB / 382.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.005228, allocations: 187.2 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.005231, allocations: 0 / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.005232, allocations: 0 / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.005237, allocations: 4 kB / 382.6 MB, free: 14.5 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.0005323/0.005769, allocations: 0.6892 MB / 383.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.005803, allocations: 8.031 kB / 383.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/0.00586, allocations: 44.66 kB / 383.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.006298, allocations: 244.9 kB / 383.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.006308, allocations: 4.375 kB / 383.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.006317, allocations: 4.375 kB / 383.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.006424, allocations: 50.95 kB / 383.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.006432, allocations: 192 / 383.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.006441, allocations: 4.375 kB / 383.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.00645, allocations: 12.12 kB / 383.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.594e-05/0.006476, allocations: 11.92 kB / 383.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.006827, allocations: 411.7 kB / 384.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.98e-05/0.006877, allocations: 27.06 kB / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.006898, allocations: 11.67 kB / 384.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.006917, allocations: 8.062 kB / 384.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.006942, allocations: 41.31 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.006942, allocations: 0 / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001546/0.007097, allocations: 77.36 kB / 384.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.007127, allocations: 63.47 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003988/0.007526, allocations: 0.6277 MB / 385 MB, free: 12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.007536, allocations: 25.7 kB / 385 MB, free: 11.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.007669, allocations: 286.8 kB / 385.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.007685, allocations: 3.953 kB / 385.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.007711, allocations: 19.38 kB / 385.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.007854, allocations: 0.5547 MB / 385.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.007867, allocations: 4 kB / 385.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-06/0.007875, allocations: 0 / 385.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.007904, allocations: 15.62 kB / 385.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.007906, allocations: 4.062 kB / 385.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.538e-05/0.007981, allocations: 89.34 kB / 386 MB, free: 10.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.007999, allocations: 4 kB / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.008003, allocations: 0 / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.008015, allocations: 0 / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.166e-05/0.008076, allocations: 4 kB / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.008081, allocations: 0 / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.008104, allocations: 4 kB / 386 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.008109, allocations: 0 / 386 MB, free: 10.96 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.054e-05/0.00818, allocations: 152.6 kB / 386.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.008214, allocations: 55.67 kB / 386.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.008318, allocations: 76.69 kB / 386.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.00832, allocations: 0 / 386.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.008323, allocations: 0 / 386.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.008326, allocations: 0 / 386.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.008516, allocations: 276.5 kB / 386.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008518, allocations: 0 / 386.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.00854, allocations: 7.984 kB / 386.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.008543, allocations: 4 kB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.00855, allocations: 7.938 kB / 386.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.008551, allocations: 4.031 kB / 386.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008552, allocations: 0 / 386.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.008653, allocations: 227.6 kB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.008675, allocations: 35.7 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.00869, allocations: 3.938 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.008727, allocations: 4 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.00874, allocations: 3.938 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.008742, allocations: 0 / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002369/0.008979, allocations: 426.8 kB / 387.2 MB, free: 9.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008979, allocations: 0 / 387.2 MB, free: 9.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001681/0.009147, allocations: 27.97 kB / 387.3 MB, free: 9.602 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.0006806/0.009828, allocations: 328.5 kB / 387.6 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.257e-05/0.0099, allocations: 15.69 kB / 387.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.009902, allocations: 0 / 387.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/0.009914, allocations: 19.61 kB / 387.6 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.01015, allocations: 21.97 kB / 387.6 MB, free: 9.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.01071, allocations: 0.5589 MB / 388.2 MB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.843e-05/0.01078, allocations: 119.2 kB / 388.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.516e-05/0.01081, allocations: 4 kB / 388.3 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.01083, allocations: 16.48 kB / 388.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01083, allocations: 0 / 388.3 MB, free: 8.555 MB / 362.7 MB Notification: Performance of Templates: time 0.003477/0.01431, allocations: 1.135 MB / 389.5 MB, free: 7.43 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: 3.0093900780193508]