Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 203.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2667/0.2667, allocations: 46.95 MB / 360.9 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 71.89 kB / 0.4966 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4069, allocations: 66.03 MB / 0.5611 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003745/0.4107, allocations: 1.652 MB / 0.5627 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.4119, allocations: 0.5349 MB / 0.5632 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.4119, allocations: 0 / 0.5632 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006437/0.4126, allocations: 463.1 kB / 0.5637 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005586/0.4131, allocations: 291.3 kB / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.4135, allocations: 131.4 kB / 0.5641 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000265/0.4138, allocations: 171.6 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.4139, allocations: 15.98 kB / 0.5643 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.414, allocations: 115.7 kB / 0.5644 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.4143, allocations: 251.5 kB / 0.5646 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.4143, allocations: 8 kB / 0.5646 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.4144, allocations: 35.97 kB / 0.5646 GB, free: 500 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.4146, allocations: 83.69 kB / 0.5647 GB, free: 416 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.71e-05/0.4146, allocations: 75.19 kB / 0.5648 GB, free: 340 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.415, allocations: 269 kB / 0.5651 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.415, allocations: 0 / 0.5651 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.415, allocations: 0 / 0.5651 GB, free: 76 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.415, allocations: 0 / 0.5651 GB, free: 76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009262/0.416, allocations: 0.5855 MB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.416, allocations: 8.031 kB / 0.5656 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.316e-05/0.4161, allocations: 52.61 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.4166, allocations: 242.8 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.4166, allocations: 4.312 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.4166, allocations: 4.375 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.4168, allocations: 57.8 kB / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.4169, allocations: 4 kB / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.4169, allocations: 0 / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4169, allocations: 0 / 0.566 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.417, allocations: 35.97 kB / 0.566 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/0.4177, allocations: 332.3 kB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.4179, allocations: 46.59 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.418, allocations: 28.83 kB / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.418, allocations: 3.984 kB / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.418, allocations: 34.56 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.418, allocations: 0 / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.001048/0.4191, allocations: 296.5 kB / 0.5667 GB, free: 14.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.4192, allocations: 51.41 kB / 0.5668 GB, free: 14.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.4202, allocations: 0.8613 MB / 0.5676 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.4202, allocations: 29.7 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.4205, allocations: 208.1 kB / 0.5678 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.4205, allocations: 31.73 kB / 0.5679 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.4206, allocations: 25.72 kB / 0.5679 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.4208, allocations: 366.7 kB / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.4209, allocations: 35.97 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.4211, allocations: 27.97 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.4213, allocations: 76.98 kB / 0.5684 GB, free: 12.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4213, allocations: 4 kB / 0.5684 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003052/0.4216, allocations: 149.4 kB / 0.5685 GB, free: 12.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.4216, allocations: 8 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4216, allocations: 0 / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4216, allocations: 0 / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.4218, allocations: 19.98 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.4218, allocations: 0 / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.018e-05/0.4219, allocations: 15.98 kB / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4219, allocations: 7.938 kB / 0.5686 GB, free: 12.28 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 (7): * Single equations (assignments): 7 * 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.0002639/0.4221, allocations: 217.6 kB / 0.5688 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.4222, allocations: 47.72 kB / 0.5688 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.4226, allocations: 161.4 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.4226, allocations: 4 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4226, allocations: 4 kB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.4226, allocations: 4 kB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007072/0.4233, allocations: 446 kB / 0.5694 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4233, allocations: 0 / 0.5694 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.189e-05/0.4234, allocations: 15.98 kB / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4234, allocations: 4 kB / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.4234, allocations: 0 / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4234, allocations: 0 / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4234, allocations: 3.938 kB / 0.5694 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.4238, allocations: 247.2 kB / 0.5697 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.4239, allocations: 35.7 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.4239, allocations: 0 / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.424, allocations: 15.98 kB / 0.5697 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.4241, allocations: 7.938 kB / 0.5697 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.4241, allocations: 0 / 0.5697 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000842/0.4249, allocations: 0.6511 MB / 0.5704 GB, free: 10.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4249, allocations: 4 kB / 0.5704 GB, free: 10.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.4252, allocations: 24 kB / 0.5704 GB, free: 10.34 MB / 414.1 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 (7): * Single equations (assignments): 7 * 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.001778/0.427, allocations: 444.8 kB / 0.5708 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.4273, allocations: 75.88 kB / 0.5709 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4273, allocations: 0 / 0.5709 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.4274, allocations: 43.97 kB / 0.5709 GB, free: 9.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.4278, allocations: 29.08 kB / 0.571 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.4292, allocations: 0.8259 MB / 0.5718 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.4294, allocations: 220.1 kB / 0.572 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.253e-05/0.4295, allocations: 15.98 kB / 0.572 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.4295, allocations: 15.42 kB / 0.572 GB, free: 8.82 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4295, allocations: 0 / 0.572 GB, free: 8.82 MB / 414.1 MB Notification: Performance of Templates: time 0.006434/0.436, allocations: 1.82 MB / 0.5738 GB, free: 7.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.265961319673806]