Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.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.005522/0.005522, allocations: 102.9 kB / 21.97 MB, free: 5.207 MB / 14.72 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.001561/0.001561, allocations: 224.6 kB / 25.3 MB, free: 3.211 MB / 14.72 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.432/1.432, allocations: 230.5 MB / 258.9 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2303/0.2303, allocations: 46.92 MB / 362.3 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 76.2 kB / 0.4982 GB, free: 7.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.334, allocations: 66.08 MB / 0.5628 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003359/0.3373, allocations: 1.695 MB / 0.5644 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3385, allocations: 0.581 MB / 0.565 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.3386, allocations: 4 kB / 0.565 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006383/0.3392, allocations: 455.1 kB / 0.5654 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005314/0.3397, allocations: 295.3 kB / 0.5657 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.3401, allocations: 130.9 kB / 0.5658 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.3403, allocations: 179.6 kB / 0.566 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3405, allocations: 12.22 kB / 0.566 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.3406, allocations: 127.6 kB / 0.5661 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.3409, allocations: 247.5 kB / 0.5664 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.3409, allocations: 4 kB / 0.5664 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.341, allocations: 55.97 kB / 0.5664 GB, free: 484 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.3411, allocations: 87.62 kB / 0.5665 GB, free: 396 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.3412, allocations: 107 kB / 0.5666 GB, free: 288 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004182/0.3417, allocations: 280.8 kB / 0.5669 GB, free: 12 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3417, allocations: 0 / 0.5669 GB, free: 12 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3417, allocations: 4 kB / 0.5669 GB, free: 8 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3417, allocations: 0 / 0.5669 GB, free: 8 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007981/0.3425, allocations: 0.601 MB / 0.5675 GB, free: 15.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3425, allocations: 8.031 kB / 0.5675 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.3426, allocations: 48.61 kB / 0.5675 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.3429, allocations: 242.7 kB / 0.5678 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3429, allocations: 4.375 kB / 0.5678 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.3429, allocations: 8.375 kB / 0.5678 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.3431, allocations: 62.23 kB / 0.5678 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3431, allocations: 192 / 0.5678 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3431, allocations: 3.938 kB / 0.5678 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3431, allocations: 4 kB / 0.5678 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.3432, allocations: 35.95 kB / 0.5679 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.3438, allocations: 383.6 kB / 0.5682 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.344, allocations: 58.55 kB / 0.5683 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.448e-05/0.3441, allocations: 16.94 kB / 0.5683 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.3441, allocations: 12.06 kB / 0.5683 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3441, allocations: 30.56 kB / 0.5683 GB, free: 14.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3441, allocations: 0 / 0.5683 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00146/0.3456, allocations: 476.7 kB / 0.5688 GB, free: 13.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.3456, allocations: 55.41 kB / 0.5689 GB, free: 13.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009162/0.3466, allocations: 0.8613 MB / 0.5697 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.3466, allocations: 29.7 kB / 0.5697 GB, free: 12.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.3468, allocations: 216 kB / 0.5699 GB, free: 12.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.3468, allocations: 35.7 kB / 0.57 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.3469, allocations: 29.7 kB / 0.57 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3471, allocations: 358.8 kB / 0.5703 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.3472, allocations: 43.95 kB / 0.5704 GB, free: 12.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.3473, allocations: 43.97 kB / 0.5704 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.3475, allocations: 100.8 kB / 0.5705 GB, free: 12.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3475, allocations: 0 / 0.5705 GB, free: 12.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003482/0.3479, allocations: 181.6 kB / 0.5707 GB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3479, allocations: 4 kB / 0.5707 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3479, allocations: 0 / 0.5707 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3479, allocations: 3.938 kB / 0.5707 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.348, allocations: 31.98 kB / 0.5707 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3481, allocations: 3.938 kB / 0.5707 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.572e-05/0.3481, allocations: 11.92 kB / 0.5707 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.3481, allocations: 4 kB / 0.5707 GB, free: 11.86 MB / 414.1 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 (11): * Single equations (assignments): 11 * 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.0002208/0.3484, allocations: 217.8 kB / 0.5709 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.3484, allocations: 47.67 kB / 0.571 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004419/0.3489, allocations: 205.4 kB / 0.5712 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3489, allocations: 0 / 0.5712 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3489, allocations: 0 / 0.5712 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3489, allocations: 7.938 kB / 0.5712 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008414/0.3497, allocations: 0.5381 MB / 0.5717 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.3497, allocations: 4 kB / 0.5717 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.3498, allocations: 35.86 kB / 0.5718 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3498, allocations: 0 / 0.5718 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3498, allocations: 7.984 kB / 0.5718 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3499, allocations: 192 / 0.5718 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3499, allocations: 0 / 0.5718 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.3502, allocations: 284.9 kB / 0.572 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/0.3503, allocations: 43.64 kB / 0.5721 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.3503, allocations: 3.938 kB / 0.5721 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3504, allocations: 11.98 kB / 0.5721 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.3505, allocations: 11.98 kB / 0.5721 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.3505, allocations: 8 kB / 0.5721 GB, free: 10.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006781/0.3512, allocations: 0.6472 MB / 0.5727 GB, free: 9.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3512, allocations: 0 / 0.5727 GB, free: 9.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00028/0.3514, allocations: 35.89 kB / 0.5728 GB, free: 9.664 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001711/0.3532, allocations: 466.2 kB / 0.5732 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.3535, allocations: 103.8 kB / 0.5733 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3535, allocations: 0 / 0.5733 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3536, allocations: 56.02 kB / 0.5734 GB, free: 9.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.3541, allocations: 37.78 kB / 0.5734 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.3554, allocations: 0.892 MB / 0.5743 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.3559, allocations: 0.8299 MB / 0.5751 GB, free: 7.387 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.356, allocations: 23.61 kB / 0.5751 GB, free: 7.367 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.356, allocations: 4 kB / 0.5751 GB, free: 7.363 MB / 414.1 MB Notification: Performance of Templates: time 0.008218/0.3642, allocations: 4.102 MB / 0.5791 GB, free: 3.254 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.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: 7.597294555976987]