Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 99.11 kB / 291.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.363/0.363, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 55.91 kB / 457.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3678, allocations: 60.8 MB / 0.5064 GB, free: 38.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003191/0.371, allocations: 1.677 MB / 0.508 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3725, allocations: 1.045 MB / 0.509 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.3726, allocations: 2.344 kB / 0.509 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.3728, allocations: 16.89 kB / 0.5091 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.373, allocations: 39.22 kB / 0.5091 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.3734, allocations: 154 kB / 0.5092 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.3736, allocations: 78.03 kB / 0.5093 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3737, allocations: 16.81 kB / 0.5093 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.432e-05/0.3737, allocations: 20.09 kB / 0.5094 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.3739, allocations: 32.19 kB / 0.5094 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.3739, allocations: 6.688 kB / 0.5094 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.374, allocations: 52.47 kB / 0.5094 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.3741, allocations: 20.86 kB / 0.5095 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.3741, allocations: 20.95 kB / 0.5095 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.3743, allocations: 91.2 kB / 0.5096 GB, free: 36.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3743, allocations: 0 / 0.5096 GB, free: 36.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3743, allocations: 1.469 kB / 0.5096 GB, free: 36.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3743, allocations: 0 / 0.5096 GB, free: 36.04 MB / 378.7 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.0004637/0.3748, allocations: 394 kB / 0.5099 GB, free: 35.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3749, allocations: 13.66 kB / 0.51 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.3749, allocations: 8.125 kB / 0.51 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.3751, allocations: 191.5 kB / 0.5101 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3751, allocations: 5.625 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.3751, allocations: 7.266 kB / 0.5102 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.3753, allocations: 81.12 kB / 0.5102 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3754, allocations: 0 / 0.5102 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.3754, allocations: 4 kB / 0.5102 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3754, allocations: 6.469 kB / 0.5102 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.3755, allocations: 37.44 kB / 0.5103 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.3759, allocations: 302.9 kB / 0.5106 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.376, allocations: 50.91 kB / 0.5106 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.875e-05/0.3761, allocations: 24.67 kB / 0.5106 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.3762, allocations: 0 / 0.5106 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.3762, allocations: 33.19 kB / 0.5107 GB, free: 34.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3762, allocations: 0 / 0.5107 GB, free: 34.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.00076/0.3769, allocations: 222 kB / 0.5109 GB, free: 34.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.377, allocations: 77.11 kB / 0.511 GB, free: 34.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3771, allocations: 147.8 kB / 0.5111 GB, free: 34.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.3771, allocations: 25.7 kB / 0.5111 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.3772, allocations: 91.08 kB / 0.5112 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.3772, allocations: 25.91 kB / 0.5112 GB, free: 34.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.3773, allocations: 23.34 kB / 0.5113 GB, free: 34.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.883e-05/0.3773, allocations: 329.1 kB / 0.5116 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.3775, allocations: 40.77 kB / 0.5116 GB, free: 34.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.3776, allocations: 54.91 kB / 0.5117 GB, free: 34.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.3778, allocations: 84.52 kB / 0.5117 GB, free: 34.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3778, allocations: 0 / 0.5117 GB, free: 34.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002581/0.3781, allocations: 128 kB / 0.5119 GB, free: 34.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3781, allocations: 11.22 kB / 0.5119 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3781, allocations: 0 / 0.5119 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3781, allocations: 0 / 0.5119 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3783, allocations: 25.33 kB / 0.5119 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3783, allocations: 0 / 0.5119 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.853e-05/0.3783, allocations: 16.08 kB / 0.5119 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.3784, allocations: 0 / 0.5119 GB, free: 34.05 MB / 378.7 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 6.948e-05/0.3784, allocations: 119.4 kB / 0.512 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.3785, allocations: 9.594 kB / 0.512 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.3788, allocations: 135.8 kB / 0.5122 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3788, allocations: 0 / 0.5122 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3788, allocations: 0 / 0.5122 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3788, allocations: 3.938 kB / 0.5122 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.3793, allocations: 410.9 kB / 0.5126 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3793, allocations: 4 kB / 0.5126 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.3794, allocations: 23.88 kB / 0.5126 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3794, allocations: 0 / 0.5126 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3794, allocations: 3.938 kB / 0.5126 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.3794, allocations: 0 / 0.5126 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3794, allocations: 2.625 kB / 0.5126 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/0.38, allocations: 0.8203 MB / 0.5134 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.38, allocations: 83.89 kB / 0.5135 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.38, allocations: 7.359 kB / 0.5135 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.3801, allocations: 5.625 kB / 0.5135 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.3802, allocations: 6.219 kB / 0.5135 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.3802, allocations: 3.188 kB / 0.5135 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.456e-05/0.3802, allocations: 112.4 kB / 0.5136 GB, free: 32.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3802, allocations: 0 / 0.5136 GB, free: 32.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003481/0.3806, allocations: 30.09 kB / 0.5136 GB, free: 32.55 MB / 378.7 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.000952/0.3816, allocations: 446.6 kB / 0.5141 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.3819, allocations: 86.59 kB / 0.5141 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3819, allocations: 0 / 0.5141 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.382, allocations: 53.14 kB / 0.5142 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.3824, allocations: 23.12 kB / 0.5142 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.3831, allocations: 355.4 kB / 0.5146 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.3833, allocations: 0.7013 MB / 0.5152 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.3834, allocations: 32.12 kB / 0.5153 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.3834, allocations: 12.91 kB / 0.5153 GB, free: 31.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3834, allocations: 0 / 0.5153 GB, free: 31.28 MB / 378.7 MB Notification: Performance of Templates: time 0.00495/0.3884, allocations: 1.477 MB / 0.5167 GB, free: 31.1 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches