Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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.002368/0.002368, allocations: 99.53 kB / 20.97 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.002717/0.002717, 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.686/1.686, allocations: 177 MB / 204.5 MB, free: 5.617 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.3574/0.3574, allocations: 34.25 MB / 295.2 MB, free: 0.6562 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 3.938 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.279e-05, allocations: 4.844 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003657/0.00369, allocations: 1.665 MB / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.004822, allocations: 0.7832 MB / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.004864, allocations: 0 / 379.7 MB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.005146, allocations: 35.72 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.005384, allocations: 35.83 kB / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.969e-06/0.005389, allocations: 0 / 379.7 MB, free: 372 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.005561, allocations: 39.83 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.005595, allocations: 4 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.567e-05/0.005641, allocations: 15.92 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.005716, allocations: 11.98 kB / 379.8 MB, free: 300 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.005732, allocations: 3.938 kB / 379.8 MB, free: 296 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.245e-05/0.005784, allocations: 12 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.005846, allocations: 19.92 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.005875, allocations: 7.938 kB / 379.9 MB, free: 256 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.006031, allocations: 63.8 kB / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006034, allocations: 0 / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006035, allocations: 0 / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.00604, allocations: 0 / 379.9 MB, free: 192 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005108/0.00655, allocations: 399.9 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.006587, allocations: 16.03 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.006637, allocations: 12.89 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.006813, allocations: 124.4 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.006827, allocations: 384 / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.006835, allocations: 384 / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.007032, allocations: 116.3 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.007041, allocations: 192 / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.007054, allocations: 4.375 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.623e-05/0.00711, allocations: 24.34 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.262e-05/0.007183, allocations: 31.8 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.008238, allocations: 1.211 MB / 381.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.008415, allocations: 273.5 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.008492, allocations: 126.9 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.368e-05/0.008565, allocations: 123.2 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.604e-05/0.008661, allocations: 160.6 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.008662, allocations: 0 / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001027/0.008765, allocations: 41.53 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.008882, allocations: 174.6 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.009162, allocations: 262.3 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.00918, allocations: 25.7 kB / 383 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.009347, allocations: 206.2 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.009358, allocations: 15.98 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.881e-05/0.009437, allocations: 47.38 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002904/0.009727, allocations: 0.4923 MB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/0.009765, allocations: 19.94 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.009978, allocations: 201 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.01026, allocations: 233.4 kB / 384.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.01027, allocations: 4 kB / 384.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003288/0.0106, allocations: 165.7 kB / 384.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.01063, allocations: 8 kB / 384.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.01064, allocations: 4 kB / 384.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.01067, allocations: 11.94 kB / 384.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.01081, allocations: 39.92 kB / 384.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.01082, allocations: 7.984 kB / 384.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-05/0.01091, allocations: 23.78 kB / 384.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.01093, allocations: 16 kB / 384.5 MB, free: 11.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0002006/0.01113, allocations: 287.6 kB / 384.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.01124, allocations: 152.8 kB / 384.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.01135, allocations: 168.7 kB / 385.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001541/0.01151, allocations: 276 kB / 385.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001501/0.01166, allocations: 264.2 kB / 385.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001474/0.01181, allocations: 272 kB / 385.9 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.0123, allocations: 0.5194 MB / 386.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.032e-05/0.01238, allocations: 144.9 kB / 386.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.323e-05/0.01246, allocations: 148.8 kB / 386.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001538/0.01261, allocations: 268.1 kB / 386.9 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/0.01276, allocations: 276 kB / 387.2 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001426/0.01291, allocations: 264.1 kB / 387.5 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001449/0.01305, allocations: 276 kB / 387.7 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.01334, allocations: 451.9 kB / 388.2 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.01345, allocations: 164.8 kB / 388.3 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.01361, allocations: 264.1 kB / 388.6 MB, free: 6.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.01373, allocations: 144.9 kB / 388.7 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.01388, allocations: 276 kB / 389 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.118e-05/0.01396, allocations: 144.9 kB / 389.1 MB, free: 6.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000149/0.01411, allocations: 168 kB / 389.3 MB, free: 6.172 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01411, allocations: 0 / 389.3 MB, free: 6.172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003025/0.01441, allocations: 16 kB / 389.3 MB, free: 6.156 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 (0): * Single equations (assignments): 0 * 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.001259/0.01567, allocations: 335.7 kB / 389.7 MB, free: 5.867 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.01586, allocations: 71.47 kB / 389.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.01586, allocations: 0 / 389.7 MB, free: 5.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.856e-06/0.01587, allocations: 7.938 kB / 389.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005998/0.01647, allocations: 0.7113 MB / 390.4 MB, free: 5.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.01692, allocations: 281.3 kB / 390.7 MB, free: 4.766 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.01703, allocations: 83.69 kB / 390.8 MB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.01717, allocations: 49.08 kB / 390.8 MB, free: 4.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.01721, allocations: 16.48 kB / 390.9 MB, free: 4.602 MB / 362.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01721, allocations: 0 / 390.9 MB, free: 4.602 MB / 362.7 MB Notification: Performance of Templates: time 0.003758/0.02097, allocations: 0.7229 MB / 391.6 MB, free: 3.891 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test16.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: 5.106278955005109]