Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.00157/0.00157, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001928/0.001928, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.58/1.58, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.2323/0.2323, allocations: 44.91 MB / 359.6 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [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.002264/0.002264, allocations: 72.17 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4031, allocations: 65.46 MB / 0.5583 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.005886/0.409, allocations: 1.69 MB / 0.5599 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.4111, allocations: 0.6049 MB / 0.5605 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.4113, allocations: 4 kB / 0.5605 GB, free: 5.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.4123, allocations: 451.1 kB / 0.5609 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008726/0.4132, allocations: 291.3 kB / 0.5612 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008609/0.414, allocations: 175.1 kB / 0.5614 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004806/0.4145, allocations: 187.5 kB / 0.5616 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.4146, allocations: 8 kB / 0.5616 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.4149, allocations: 119.7 kB / 0.5617 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005296/0.4154, allocations: 251.5 kB / 0.5619 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.4155, allocations: 4 kB / 0.5619 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.4156, allocations: 35.97 kB / 0.562 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.4158, allocations: 87.62 kB / 0.562 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.4159, allocations: 103 kB / 0.5621 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000598/0.4165, allocations: 273 kB / 0.5624 GB, free: 3.488 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.4165, allocations: 3.984 kB / 0.5624 GB, free: 3.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4165, allocations: 0 / 0.5624 GB, free: 3.484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.4166, allocations: 0 / 0.5624 GB, free: 3.484 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001/0.4176, allocations: 0.5854 MB / 0.563 GB, free: 2.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4176, allocations: 8.031 kB / 0.563 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.4177, allocations: 48.61 kB / 0.563 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.418, allocations: 250.7 kB / 0.5633 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.418, allocations: 4.375 kB / 0.5633 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.4181, allocations: 4.375 kB / 0.5633 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.4183, allocations: 61.8 kB / 0.5633 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4183, allocations: 4 kB / 0.5633 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.4183, allocations: 0 / 0.5633 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4183, allocations: 7.938 kB / 0.5633 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.4184, allocations: 35.97 kB / 0.5634 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.419, allocations: 375.7 kB / 0.5637 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.4192, allocations: 50.56 kB / 0.5638 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.837e-05/0.4193, allocations: 28.92 kB / 0.5638 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.4193, allocations: 0 / 0.5638 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.4193, allocations: 34.55 kB / 0.5638 GB, free: 1.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4193, allocations: 3.938 kB / 0.5638 GB, free: 1.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009161/0.4202, allocations: 320.5 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.4203, allocations: 55.39 kB / 0.5642 GB, free: 1.488 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009606/0.4212, allocations: 0.8652 MB / 0.565 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.4213, allocations: 25.7 kB / 0.5651 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.4215, allocations: 216.1 kB / 0.5653 GB, free: 372 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.4215, allocations: 27.8 kB / 0.5653 GB, free: 344 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.4215, allocations: 21.7 kB / 0.5653 GB, free: 316 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.4218, allocations: 362.7 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.4219, allocations: 39.91 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.422, allocations: 39.95 kB / 0.5657 GB, free: 15.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.4222, allocations: 97.09 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4222, allocations: 0 / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003465/0.4226, allocations: 161.3 kB / 0.566 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4226, allocations: 10.66 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.4226, allocations: 0 / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4226, allocations: 0 / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.4228, allocations: 27.92 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4228, allocations: 0 / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.642e-05/0.4228, allocations: 11.92 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.4229, allocations: 4 kB / 0.566 GB, free: 15.55 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.0002179/0.4231, allocations: 213.8 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/0.4231, allocations: 47.72 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.4236, allocations: 177.5 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4236, allocations: 4 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.4236, allocations: 0 / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.4236, allocations: 7.922 kB / 0.5665 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007507/0.4243, allocations: 493.4 kB / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4243, allocations: 0 / 0.5669 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-05/0.4244, allocations: 23.97 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4244, allocations: 4 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.4244, allocations: 3.938 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4244, allocations: 0 / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4244, allocations: 0 / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.4248, allocations: 263.1 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.4249, allocations: 35.72 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.4249, allocations: 3.938 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.425, allocations: 7.984 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.4251, allocations: 15.97 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.4251, allocations: 0 / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007009/0.4258, allocations: 0.6511 MB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4258, allocations: 0 / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.4261, allocations: 27.94 kB / 0.568 GB, free: 13.52 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.001539/0.4276, allocations: 411.4 kB / 0.5683 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.4279, allocations: 91.86 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4279, allocations: 0 / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.4281, allocations: 47.95 kB / 0.5685 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.4285, allocations: 25.12 kB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.4299, allocations: 0.8745 MB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.4304, allocations: 0.8337 MB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.4305, allocations: 11.44 kB / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4305, allocations: 0 / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of Templates: time 0.007894/0.4383, allocations: 3.931 MB / 0.574 GB, free: 7.391 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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: 7.80458380212076]