Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001804/0.001804, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00221/0.00221, allocations: 209 kB / 24.48 MB, free: 3.938 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.531/1.531, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2429/0.2429, allocations: 46.97 MB / 361.6 MB, free: 4.008 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 63.91 kB / 0.4974 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3408, allocations: 66.04 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003278/0.3441, allocations: 1.668 MB / 0.5635 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.3452, allocations: 0.5738 MB / 0.564 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.3453, allocations: 0 / 0.564 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006509/0.3459, allocations: 455.1 kB / 0.5645 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.3464, allocations: 295.2 kB / 0.5647 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.3469, allocations: 175.8 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.3472, allocations: 187.6 kB / 0.5651 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3473, allocations: 16.2 kB / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.3475, allocations: 119.7 kB / 0.5652 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.3478, allocations: 251.5 kB / 0.5655 GB, free: 440 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.3478, allocations: 4 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.3479, allocations: 47.98 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.348, allocations: 95.61 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.3481, allocations: 71.25 kB / 0.5657 GB, free: 220 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003798/0.3485, allocations: 288.9 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3485, allocations: 4 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3485, allocations: 0 / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3485, allocations: 4 kB / 0.566 GB, free: 15.93 MB / 414.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.0008047/0.3493, allocations: 0.597 MB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3493, allocations: 12.03 kB / 0.5665 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.3494, allocations: 40.66 kB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.3497, allocations: 246.8 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.3497, allocations: 4.375 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.3497, allocations: 8.375 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.3499, allocations: 73.73 kB / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.35, allocations: 0 / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.35, allocations: 0 / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.35, allocations: 0 / 0.5669 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.3501, allocations: 43.95 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.3507, allocations: 364.2 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.3509, allocations: 54.55 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.748e-05/0.351, allocations: 32.91 kB / 0.5674 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.351, allocations: 4 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.351, allocations: 30.56 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.351, allocations: 0 / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001567/0.3526, allocations: 0.5045 MB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3527, allocations: 59.41 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008871/0.3535, allocations: 0.8652 MB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3536, allocations: 33.7 kB / 0.5688 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.3538, allocations: 216.1 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.3538, allocations: 35.69 kB / 0.5691 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.3538, allocations: 21.72 kB / 0.5691 GB, free: 12.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.354, allocations: 362.8 kB / 0.5694 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.3542, allocations: 55.95 kB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.3543, allocations: 59.95 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.3546, allocations: 124.7 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3546, allocations: 0 / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003735/0.355, allocations: 197.2 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.355, allocations: 4 kB / 0.5699 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.355, allocations: 4 kB / 0.5699 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.355, allocations: 4 kB / 0.5699 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3551, allocations: 31.97 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3551, allocations: 3.938 kB / 0.5699 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.589e-05/0.3552, allocations: 11.98 kB / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.3552, allocations: 0 / 0.5699 GB, free: 11.69 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.0002279/0.3554, allocations: 217.8 kB / 0.5701 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.3555, allocations: 47.7 kB / 0.5702 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.356, allocations: 237.2 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.356, allocations: 3.984 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.356, allocations: 3.938 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.356, allocations: 4 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008165/0.3568, allocations: 0.5191 MB / 0.5709 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3568, allocations: 4.062 kB / 0.5709 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.3569, allocations: 27.97 kB / 0.5709 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3569, allocations: 7.938 kB / 0.571 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.357, allocations: 4 kB / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.357, allocations: 4 kB / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.357, allocations: 288 / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.3574, allocations: 312.7 kB / 0.5713 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.3574, allocations: 47.66 kB / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.3575, allocations: 0 / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3576, allocations: 15.98 kB / 0.5713 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.3576, allocations: 7.984 kB / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.3576, allocations: 0 / 0.5713 GB, free: 10.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006586/0.3583, allocations: 0.6589 MB / 0.572 GB, free: 9.496 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3583, allocations: 0 / 0.572 GB, free: 9.496 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000284/0.3586, allocations: 28 kB / 0.572 GB, free: 9.469 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.001886/0.3605, allocations: 0.4977 MB / 0.5725 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.3608, allocations: 123.8 kB / 0.5726 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3608, allocations: 4 kB / 0.5726 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.361, allocations: 67.89 kB / 0.5727 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.3614, allocations: 32.42 kB / 0.5727 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.3628, allocations: 0.9194 MB / 0.5736 GB, free: 8.004 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.3631, allocations: 228.8 kB / 0.5738 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.3631, allocations: 23.44 kB / 0.5738 GB, free: 7.738 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3631, allocations: 0 / 0.5738 GB, free: 7.738 MB / 414.1 MB Notification: Performance of Templates: time 0.00827/0.3714, allocations: 4.403 MB / 0.5781 GB, free: 3.328 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.840900161769241]