Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, 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.342/1.342, allocations: 222.9 MB / 241.6 MB, free: 11 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.0013/0.0013, allocations: 110.2 kB / 291.9 MB, free: 10.94 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.3722/0.3722, allocations: 44.13 MB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 55.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3057, allocations: 60.8 MB / 0.5064 GB, free: 38.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002639/0.3083, allocations: 1.68 MB / 0.508 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3094, allocations: 1.018 MB / 0.509 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.3095, allocations: 2.844 kB / 0.509 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.3096, allocations: 20.47 kB / 0.509 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.3098, allocations: 35.59 kB / 0.5091 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.31, allocations: 115.6 kB / 0.5092 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3101, allocations: 59.31 kB / 0.5092 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.3102, allocations: 18.78 kB / 0.5093 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.3103, allocations: 19.38 kB / 0.5093 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.3104, allocations: 37.73 kB / 0.5093 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.3105, allocations: 2.219 kB / 0.5093 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.486e-05/0.3106, allocations: 44.39 kB / 0.5094 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.3106, allocations: 13.91 kB / 0.5094 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.3107, allocations: 33.19 kB / 0.5094 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.3108, allocations: 92.09 kB / 0.5095 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3108, allocations: 0 / 0.5095 GB, free: 36.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3108, allocations: 0 / 0.5095 GB, free: 36.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.3108, allocations: 0 / 0.5095 GB, free: 36.45 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.0004115/0.3113, allocations: 386.9 kB / 0.5099 GB, free: 36.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3113, allocations: 9 kB / 0.5099 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.3113, allocations: 8.938 kB / 0.5099 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.3115, allocations: 189.4 kB / 0.5101 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3115, allocations: 7.406 kB / 0.5101 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.3116, allocations: 7.062 kB / 0.5101 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3117, allocations: 77.88 kB / 0.5102 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3118, allocations: 3.938 kB / 0.5102 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.3118, allocations: 0 / 0.5102 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3118, allocations: 2.781 kB / 0.5102 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.3119, allocations: 36.02 kB / 0.5102 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.3122, allocations: 278.3 kB / 0.5105 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.3123, allocations: 48.08 kB / 0.5105 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.993e-05/0.3124, allocations: 27.64 kB / 0.5105 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.3124, allocations: 8 kB / 0.5105 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.3124, allocations: 33.89 kB / 0.5106 GB, free: 35.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.3124, allocations: 2.75 kB / 0.5106 GB, free: 35.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.00063/0.3131, allocations: 198.5 kB / 0.5108 GB, free: 35.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.3131, allocations: 79.86 kB / 0.5108 GB, free: 35.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.21e-05/0.3132, allocations: 135.7 kB / 0.511 GB, free: 35.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.3132, allocations: 25.7 kB / 0.511 GB, free: 35.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.3132, allocations: 105.2 kB / 0.5111 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.3133, allocations: 18.44 kB / 0.5111 GB, free: 34.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.3133, allocations: 20.16 kB / 0.5111 GB, free: 34.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.3133, allocations: 317.7 kB / 0.5114 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.763e-05/0.3134, allocations: 35.38 kB / 0.5115 GB, free: 34.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.723e-05/0.3136, allocations: 51.14 kB / 0.5115 GB, free: 34.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.3137, allocations: 73.86 kB / 0.5116 GB, free: 34.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3137, allocations: 0 / 0.5116 GB, free: 34.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002234/0.314, allocations: 112.8 kB / 0.5117 GB, free: 34.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.314, allocations: 5.656 kB / 0.5117 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.314, allocations: 0 / 0.5117 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.314, allocations: 2.812 kB / 0.5117 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3141, allocations: 17.47 kB / 0.5117 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.3141, allocations: 0 / 0.5117 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.3142, allocations: 20.84 kB / 0.5117 GB, free: 34.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3142, allocations: 2.906 kB / 0.5117 GB, free: 34.49 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 5.237e-05/0.3143, allocations: 120.7 kB / 0.5119 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.3143, allocations: 5.562 kB / 0.5119 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.3146, allocations: 121 kB / 0.512 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3146, allocations: 0 / 0.512 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3146, allocations: 4 kB / 0.512 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3146, allocations: 6.844 kB / 0.512 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.315, allocations: 391.4 kB / 0.5124 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.315, allocations: 4 kB / 0.5124 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-05/0.3151, allocations: 21.47 kB / 0.5124 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3151, allocations: 0 / 0.5124 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.3151, allocations: 7.938 kB / 0.5124 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3151, allocations: 2.781 kB / 0.5124 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3151, allocations: 0 / 0.5124 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.3155, allocations: 0.7956 MB / 0.5132 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.3156, allocations: 83.64 kB / 0.5133 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.3156, allocations: 7.328 kB / 0.5133 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.3157, allocations: 8.5 kB / 0.5133 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.3157, allocations: 2.875 kB / 0.5133 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.3157, allocations: 10.23 kB / 0.5133 GB, free: 33.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.799e-05/0.3158, allocations: 100.3 kB / 0.5134 GB, free: 33.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3158, allocations: 0 / 0.5134 GB, free: 33.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003307/0.3161, allocations: 33.66 kB / 0.5134 GB, free: 33 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.0008521/0.317, allocations: 452.4 kB / 0.5138 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.3173, allocations: 78.08 kB / 0.5139 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3173, allocations: 0 / 0.5139 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.3174, allocations: 40.72 kB / 0.514 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.3177, allocations: 25.16 kB / 0.514 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.3181, allocations: 317.9 kB / 0.5143 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.3182, allocations: 0.6928 MB / 0.515 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.367e-05/0.3183, allocations: 23.52 kB / 0.515 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.3183, allocations: 13.34 kB / 0.515 GB, free: 31.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3183, allocations: 0 / 0.515 GB, free: 31.75 MB / 378.7 MB Notification: Performance of Templates: time 0.003096/0.3214, allocations: 1.44 MB / 0.5164 GB, free: 31.58 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches