Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001469/0.001469, 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.001765/0.001765, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.965 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.233/0.233, allocations: 46.93 MB / 361.6 MB, free: 4.223 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 68.12 kB / 0.4974 GB, free: 7.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4458, allocations: 66.03 MB / 0.5619 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003895/0.4497, allocations: 1.68 MB / 0.5635 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.4511, allocations: 0.6088 MB / 0.5641 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.4512, allocations: 0 / 0.5641 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009181/0.4521, allocations: 455.1 kB / 0.5646 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007334/0.4528, allocations: 287.3 kB / 0.5648 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006778/0.4535, allocations: 182.9 kB / 0.565 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.4539, allocations: 183.6 kB / 0.5652 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.454, allocations: 8 kB / 0.5652 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.4541, allocations: 119.6 kB / 0.5653 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003602/0.4545, allocations: 255.5 kB / 0.5655 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.4545, allocations: 4 kB / 0.5656 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.4546, allocations: 31.98 kB / 0.5656 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.4548, allocations: 87.67 kB / 0.5657 GB, free: 488 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.4549, allocations: 106.9 kB / 0.5658 GB, free: 380 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.4553, allocations: 269 kB / 0.566 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4553, allocations: 0 / 0.566 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4553, allocations: 4 kB / 0.566 GB, free: 112 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.4553, allocations: 0 / 0.566 GB, free: 112 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.0009573/0.4563, allocations: 0.5856 MB / 0.5666 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.4563, allocations: 8.031 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.428e-05/0.4564, allocations: 48.61 kB / 0.5667 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.4568, allocations: 246.8 kB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.4568, allocations: 12.31 kB / 0.5669 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.4568, allocations: 4.375 kB / 0.5669 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.457, allocations: 65.78 kB / 0.567 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.457, allocations: 0 / 0.567 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.457, allocations: 4 kB / 0.567 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.457, allocations: 7.938 kB / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.4572, allocations: 35.97 kB / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.4579, allocations: 371.7 kB / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.4581, allocations: 50.56 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.773e-05/0.4582, allocations: 24.94 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.4582, allocations: 3.984 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.758e-05/0.4583, allocations: 30.56 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4583, allocations: 0 / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009489/0.4592, allocations: 324.6 kB / 0.5678 GB, free: 14.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.4593, allocations: 51.41 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.4603, allocations: 0.8691 MB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.4603, allocations: 25.7 kB / 0.5687 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.4605, allocations: 216.1 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.4606, allocations: 23.8 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.4606, allocations: 21.72 kB / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00031/0.4609, allocations: 362.7 kB / 0.5693 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.4611, allocations: 43.91 kB / 0.5693 GB, free: 12.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.4612, allocations: 43.89 kB / 0.5694 GB, free: 12.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.4614, allocations: 93.03 kB / 0.5695 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4614, allocations: 0 / 0.5695 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003508/0.4618, allocations: 165.3 kB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.4618, allocations: 8 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.4618, allocations: 0 / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.4618, allocations: 0 / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.4621, allocations: 19.98 kB / 0.5697 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.4621, allocations: 4 kB / 0.5697 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.4622, allocations: 11.92 kB / 0.5697 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.4622, allocations: 7.938 kB / 0.5697 GB, free: 12.17 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.0004041/0.4626, allocations: 213.8 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.4627, allocations: 43.72 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/0.4632, allocations: 177.5 kB / 0.5701 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4633, allocations: 4 kB / 0.5701 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4633, allocations: 0 / 0.5701 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4633, allocations: 3.938 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000787/0.464, allocations: 497.6 kB / 0.5706 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4641, allocations: 0 / 0.5706 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-05/0.4641, allocations: 15.98 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4641, allocations: 8 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4642, allocations: 3.938 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4642, allocations: 3.984 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.4642, allocations: 3.984 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.4646, allocations: 259.1 kB / 0.5709 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/0.4646, allocations: 35.72 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.4646, allocations: 11.94 kB / 0.5709 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.4647, allocations: 7.984 kB / 0.5709 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.4648, allocations: 8 kB / 0.5709 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.4648, allocations: 3.984 kB / 0.5709 GB, free: 10.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009628/0.4658, allocations: 0.6472 MB / 0.5716 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4658, allocations: 4 kB / 0.5716 GB, free: 10.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.466, allocations: 24 kB / 0.5716 GB, free: 10.14 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.001587/0.4676, allocations: 414.9 kB / 0.572 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.4679, allocations: 91.86 kB / 0.5721 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4679, allocations: 0 / 0.5721 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.4681, allocations: 39.97 kB / 0.5721 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.4685, allocations: 30.61 kB / 0.5721 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.4701, allocations: 0.8823 MB / 0.573 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008603/0.471, allocations: 0.8298 MB / 0.5738 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.471, allocations: 15.44 kB / 0.5738 GB, free: 7.945 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.471, allocations: 0 / 0.5738 GB, free: 7.945 MB / 414.1 MB Notification: Performance of Templates: time 0.008927/0.4799, allocations: 3.932 MB / 0.5777 GB, free: 4.008 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.8893457180820405]