Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001461/0.001461, 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.001422/0.001422, allocations: 210 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.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2595/0.2595, allocations: 44.94 MB / 359.6 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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.0.0_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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 73.92 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4102, allocations: 65.47 MB / 0.5582 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003624/0.4138, allocations: 1.668 MB / 0.5598 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.415, allocations: 0.5427 MB / 0.5604 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.415, allocations: 0 / 0.5604 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006515/0.4157, allocations: 459.1 kB / 0.5608 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005657/0.4163, allocations: 295.3 kB / 0.5611 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.4166, allocations: 142.8 kB / 0.5612 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.4169, allocations: 171.7 kB / 0.5614 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.4171, allocations: 16.16 kB / 0.5614 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.4172, allocations: 111.8 kB / 0.5615 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.4176, allocations: 259.4 kB / 0.5618 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.4176, allocations: 4 kB / 0.5618 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.4177, allocations: 51.98 kB / 0.5618 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.4178, allocations: 83.67 kB / 0.5619 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.744e-05/0.4179, allocations: 71.25 kB / 0.562 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.4184, allocations: 284.9 kB / 0.5622 GB, free: 3.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4184, allocations: 0 / 0.5622 GB, free: 3.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4184, allocations: 4 kB / 0.5622 GB, free: 3.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.4184, allocations: 0 / 0.5622 GB, free: 3.34 MB / 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.0008917/0.4193, allocations: 0.5931 MB / 0.5628 GB, free: 2.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4193, allocations: 8.031 kB / 0.5628 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.288e-05/0.4194, allocations: 52.61 kB / 0.5629 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.4197, allocations: 242.8 kB / 0.5631 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.4197, allocations: 4.375 kB / 0.5631 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.4197, allocations: 4.375 kB / 0.5631 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.4199, allocations: 69.72 kB / 0.5632 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.4199, allocations: 0 / 0.5632 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.4199, allocations: 8 kB / 0.5632 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.42, allocations: 4 kB / 0.5632 GB, free: 2.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.4201, allocations: 31.97 kB / 0.5632 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.4206, allocations: 344.2 kB / 0.5636 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.4208, allocations: 54.55 kB / 0.5636 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.498e-05/0.4209, allocations: 20.97 kB / 0.5636 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.4209, allocations: 8 kB / 0.5636 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.421, allocations: 34.56 kB / 0.5637 GB, free: 1.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.421, allocations: 0 / 0.5637 GB, free: 1.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001552/0.4225, allocations: 480.3 kB / 0.5641 GB, free: 1.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.4226, allocations: 51.41 kB / 0.5642 GB, free: 1.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009239/0.4235, allocations: 0.8652 MB / 0.565 GB, free: 356 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.4235, allocations: 33.7 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.4237, allocations: 216 kB / 0.5653 GB, free: 96 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.4238, allocations: 35.7 kB / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.4238, allocations: 25.7 kB / 0.5653 GB, free: 28 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002282/0.4241, allocations: 358.9 kB / 0.5657 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.4242, allocations: 43.95 kB / 0.5657 GB, free: 15.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.4243, allocations: 43.97 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.4246, allocations: 101.3 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4246, allocations: 0 / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003642/0.4249, allocations: 181.3 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.425, allocations: 6.656 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.425, allocations: 0 / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.425, allocations: 4 kB / 0.566 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.4251, allocations: 31.98 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.4251, allocations: 3.938 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.4252, allocations: 7.984 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.4252, allocations: 4 kB / 0.5661 GB, free: 15.24 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.0002357/0.4254, allocations: 217.8 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.4255, allocations: 47.67 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.426, allocations: 213.7 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.426, allocations: 4 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.426, allocations: 3.938 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.426, allocations: 0 / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008183/0.4268, allocations: 0.4956 MB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4268, allocations: 0 / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.4269, allocations: 27.97 kB / 0.567 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.427, allocations: 15.98 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.427, allocations: 4 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.427, allocations: 4 kB / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.427, allocations: 0 / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004314/0.4274, allocations: 284.8 kB / 0.5673 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.4275, allocations: 39.75 kB / 0.5674 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.4275, allocations: 7.938 kB / 0.5674 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.4276, allocations: 15.98 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.4276, allocations: 7.984 kB / 0.5674 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.4277, allocations: 8 kB / 0.5674 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007056/0.4284, allocations: 0.6472 MB / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4284, allocations: 0 / 0.568 GB, free: 13.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.4287, allocations: 39.88 kB / 0.5681 GB, free: 13.09 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.001921/0.4306, allocations: 0.4888 MB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003599/0.4309, allocations: 99.86 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4309, allocations: 0 / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.4311, allocations: 60.03 kB / 0.5687 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.4315, allocations: 40.47 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.4331, allocations: 0.888 MB / 0.5696 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.4334, allocations: 224.1 kB / 0.5698 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.4334, allocations: 15.44 kB / 0.5698 GB, free: 11.44 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4334, allocations: 0 / 0.5698 GB, free: 11.44 MB / 414.1 MB Notification: Performance of Templates: time 0.008561/0.442, allocations: 4.263 MB / 0.574 GB, free: 7.164 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.955063857138157]