Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.002286/0.002286, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002095/0.002095, allocations: 164.8 kB / 24.27 MB, free: 156 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 1.537/1.537, allocations: 177 MB / 204.5 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 178] 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.3834/0.3834, allocations: 34.26 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.407e-05/3.595e-05, allocations: 2.312 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.004005/0.004041, allocations: 1.661 MB / 378.9 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.005385, allocations: 0.5447 MB / 379.4 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.005469, allocations: 4 kB / 379.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007507/0.00622, allocations: 451.1 kB / 379.9 MB, free: 252 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006091/0.006829, allocations: 295.2 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.007222, allocations: 127.5 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.007561, allocations: 171.6 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.007663, allocations: 7.984 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.00793, allocations: 119.8 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.008281, allocations: 243.6 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.008311, allocations: 7.938 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.008422, allocations: 31.98 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.00857, allocations: 87.7 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.008631, allocations: 35.73 kB / 381 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.009035, allocations: 239.1 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.00904, allocations: 0 / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.009041, allocations: 0 / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.009049, allocations: 4 kB / 381.2 MB, free: 14.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001045/0.01009, allocations: 0.7162 MB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.01014, allocations: 12.03 kB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.01025, allocations: 44.66 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.01064, allocations: 244.9 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.01065, allocations: 384 / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.01068, allocations: 8.359 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.01084, allocations: 46.25 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.01085, allocations: 192 / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.01086, allocations: 4.375 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.01087, allocations: 384 / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.01097, allocations: 35.84 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/0.01171, allocations: 455.7 kB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.01196, allocations: 51.05 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.624e-05/0.012, allocations: 11.69 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.01203, allocations: 3.938 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.01207, allocations: 53.41 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.01207, allocations: 0 / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006827/0.01275, allocations: 220.6 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.0128, allocations: 51.41 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008119/0.01361, allocations: 0.6745 MB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.01365, allocations: 29.7 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002861/0.01394, allocations: 298.8 kB / 384.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.01396, allocations: 11.84 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.01402, allocations: 31.36 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006604/0.01468, allocations: 0.5665 MB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-05/0.01474, allocations: 15.98 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-05/0.01479, allocations: 12 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.01491, allocations: 47.67 kB / 384.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.01491, allocations: 0 / 384.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002266/0.01514, allocations: 117.5 kB / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.01516, allocations: 4 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01517, allocations: 4.062 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.01518, allocations: 0 / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.592e-05/0.01525, allocations: 19.92 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.01526, allocations: 0 / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.0153, allocations: 4 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.01531, allocations: 8 kB / 385 MB, free: 10.92 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 0.0001334/0.01545, allocations: 160.6 kB / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.01551, allocations: 43.66 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.01579, allocations: 113.2 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.01579, allocations: 4 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.0158, allocations: 0 / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.0158, allocations: 0 / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007229/0.01653, allocations: 0.513 MB / 385.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01653, allocations: 4 kB / 385.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.01658, allocations: 15.98 kB / 385.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01659, allocations: 3.938 kB / 385.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.01659, allocations: 0 / 385.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01659, allocations: 0 / 385.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.0166, allocations: 3.984 kB / 385.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.01689, allocations: 263.6 kB / 386.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.01695, allocations: 31.72 kB / 386.1 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.01698, allocations: 4 kB / 386.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.01705, allocations: 0 / 386.1 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.01709, allocations: 16.45 kB / 386.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.0171, allocations: 4 kB / 386.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004828/0.01758, allocations: 442.8 kB / 386.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01758, allocations: 0 / 386.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.01782, allocations: 16 kB / 386.6 MB, free: 9.227 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.002936/0.02076, allocations: 442.3 kB / 387 MB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.02098, allocations: 43.67 kB / 387.1 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.02098, allocations: 0 / 387.1 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.02106, allocations: 35.67 kB / 387.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.02147, allocations: 29.89 kB / 387.1 MB, free: 8.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.02259, allocations: 0.5822 MB / 387.7 MB, free: 8.207 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.02283, allocations: 204 kB / 387.9 MB, free: 7.988 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.042e-05/0.02288, allocations: 12.23 kB / 387.9 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.02292, allocations: 16.5 kB / 388 MB, free: 7.961 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02293, allocations: 4 kB / 388 MB, free: 7.957 MB / 362.7 MB Notification: Performance of Templates: time 0.005383/0.02831, allocations: 1.32 MB / 389.3 MB, free: 6.648 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.960865647997707]