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.001411/0.001411, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001623/0.001623, allocations: 209.8 kB / 24.49 MB, free: 4.133 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: 8.258 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.2356/0.2356, allocations: 46.93 MB / 361.6 MB, free: 4.328 MB / 286.1 MB " [Timeout remaining time 180] 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.001981/0.001981, allocations: 71.89 kB / 0.4974 GB, free: 7.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4147, allocations: 66.02 MB / 0.5619 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003445/0.4181, allocations: 1.707 MB / 0.5636 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.4193, allocations: 0.6011 MB / 0.5641 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.961e-05/0.4194, allocations: 4 kB / 0.5642 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006569/0.42, allocations: 447.1 kB / 0.5646 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005246/0.4206, allocations: 295.3 kB / 0.5649 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.421, allocations: 182.9 kB / 0.565 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.4213, allocations: 183.6 kB / 0.5652 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.4214, allocations: 20.16 kB / 0.5652 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.4216, allocations: 123.6 kB / 0.5653 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.4219, allocations: 259.5 kB / 0.5656 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.4219, allocations: 4 kB / 0.5656 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.4221, allocations: 47.98 kB / 0.5656 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.4222, allocations: 91.61 kB / 0.5657 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.978e-05/0.4223, allocations: 107 kB / 0.5658 GB, free: 416 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.4227, allocations: 284.9 kB / 0.5661 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4227, allocations: 0 / 0.5661 GB, free: 136 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4227, allocations: 0 / 0.5661 GB, free: 136 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4227, allocations: 0 / 0.5661 GB, free: 136 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008529/0.4235, allocations: 0.6009 MB / 0.5667 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4236, allocations: 12.03 kB / 0.5667 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.498e-05/0.4236, allocations: 40.66 kB / 0.5667 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.424, allocations: 250.7 kB / 0.567 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.424, allocations: 8.312 kB / 0.567 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.424, allocations: 384 / 0.567 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.4242, allocations: 73.78 kB / 0.5671 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.4242, allocations: 4 kB / 0.5671 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4242, allocations: 0 / 0.5671 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4242, allocations: 4 kB / 0.5671 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.4244, allocations: 47.89 kB / 0.5671 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006136/0.425, allocations: 383.7 kB / 0.5675 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.4253, allocations: 58.58 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.272e-05/0.4253, allocations: 32.97 kB / 0.5676 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.4254, allocations: 0 / 0.5676 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.4254, allocations: 34.56 kB / 0.5676 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.4254, allocations: 0 / 0.5676 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001606/0.427, allocations: 0.5045 MB / 0.5681 GB, free: 13.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.4271, allocations: 59.34 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009611/0.428, allocations: 0.8614 MB / 0.569 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.428, allocations: 29.7 kB / 0.569 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.4282, allocations: 212.1 kB / 0.5692 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.4283, allocations: 35.69 kB / 0.5693 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.4283, allocations: 29.7 kB / 0.5693 GB, free: 12.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.4286, allocations: 358.8 kB / 0.5696 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.4287, allocations: 67.77 kB / 0.5697 GB, free: 12.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.4289, allocations: 55.95 kB / 0.5697 GB, free: 12.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.4292, allocations: 120.8 kB / 0.5699 GB, free: 12.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4292, allocations: 4 kB / 0.5699 GB, free: 12.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003806/0.4295, allocations: 201.2 kB / 0.5701 GB, free: 11.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.4296, allocations: 7.984 kB / 0.5701 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4296, allocations: 0 / 0.5701 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4296, allocations: 0 / 0.5701 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4297, allocations: 35.86 kB / 0.5701 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4297, allocations: 0 / 0.5701 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/0.4298, allocations: 11.98 kB / 0.5701 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.4298, allocations: 4 kB / 0.5701 GB, free: 11.84 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.0002311/0.43, allocations: 221.8 kB / 0.5703 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.4301, allocations: 39.72 kB / 0.5704 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.4306, allocations: 237.7 kB / 0.5706 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.4306, allocations: 3.938 kB / 0.5706 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4306, allocations: 4 kB / 0.5706 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4306, allocations: 0 / 0.5706 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009475/0.4315, allocations: 0.5654 MB / 0.5711 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.4315, allocations: 7.938 kB / 0.5712 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.4317, allocations: 31.91 kB / 0.5712 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4317, allocations: 4.062 kB / 0.5712 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.4317, allocations: 8 kB / 0.5712 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4317, allocations: 0 / 0.5712 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4317, allocations: 192 / 0.5712 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.4322, allocations: 316.8 kB / 0.5715 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.4322, allocations: 35.72 kB / 0.5715 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.4322, allocations: 4 kB / 0.5715 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.4324, allocations: 11.98 kB / 0.5715 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.4324, allocations: 7.984 kB / 0.5716 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.4324, allocations: 4 kB / 0.5716 GB, free: 10.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006841/0.4331, allocations: 0.655 MB / 0.5722 GB, free: 9.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4331, allocations: 8 kB / 0.5722 GB, free: 9.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.4334, allocations: 28 kB / 0.5722 GB, free: 9.562 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.001751/0.4351, allocations: 458 kB / 0.5727 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.4355, allocations: 127.8 kB / 0.5728 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4355, allocations: 4 kB / 0.5728 GB, free: 9.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.4357, allocations: 63.89 kB / 0.5729 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.4361, allocations: 36.08 kB / 0.5729 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.4376, allocations: 0.9271 MB / 0.5738 GB, free: 8.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/0.4381, allocations: 0.8377 MB / 0.5746 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.024e-05/0.4382, allocations: 15.44 kB / 0.5746 GB, free: 7.23 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4382, allocations: 0 / 0.5746 GB, free: 7.23 MB / 414.1 MB Notification: Performance of Templates: time 0.008484/0.4467, allocations: 4.248 MB / 0.5788 GB, free: 2.98 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: 8.217868668027222]