Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, 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.37/1.37, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001142/0.001141, allocations: 119 kB / 291.9 MB, free: 10.93 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.3876/0.3876, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009672/0.0009672, allocations: 47.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3154, allocations: 60.81 MB / 0.5064 GB, free: 38.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002985/0.3185, allocations: 1.668 MB / 0.508 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007893/0.3193, allocations: 432 kB / 0.5084 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.3194, allocations: 1.125 kB / 0.5084 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005511/0.3199, allocations: 451.6 kB / 0.5089 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.3202, allocations: 241.7 kB / 0.5091 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.3206, allocations: 114.8 kB / 0.5092 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.3207, allocations: 149 kB / 0.5093 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3209, allocations: 24.02 kB / 0.5094 GB, free: 36.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.321, allocations: 107.3 kB / 0.5095 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.3211, allocations: 201.6 kB / 0.5097 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3212, allocations: 2.875 kB / 0.5097 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.849e-05/0.3213, allocations: 32.94 kB / 0.5097 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.601e-05/0.3214, allocations: 84.48 kB / 0.5098 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.3214, allocations: 93.44 kB / 0.5099 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.3216, allocations: 243.5 kB / 0.5101 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3216, allocations: 0 / 0.5101 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3217, allocations: 3.328 kB / 0.5101 GB, free: 36.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3217, allocations: 0 / 0.5101 GB, free: 36.36 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.0006187/0.3223, allocations: 0.6332 MB / 0.5107 GB, free: 35.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3223, allocations: 11.16 kB / 0.5107 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.3224, allocations: 39.62 kB / 0.5108 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.3227, allocations: 288.5 kB / 0.511 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.3227, allocations: 3.312 kB / 0.511 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.3227, allocations: 7.281 kB / 0.5111 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.3229, allocations: 64.38 kB / 0.5111 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3229, allocations: 0 / 0.5111 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3229, allocations: 0 / 0.5111 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.3229, allocations: 0 / 0.5111 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.958e-05/0.323, allocations: 26.09 kB / 0.5111 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.3234, allocations: 390.1 kB / 0.5115 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.3236, allocations: 45.64 kB / 0.5116 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.3237, allocations: 21.52 kB / 0.5116 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3237, allocations: 0 / 0.5116 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.3237, allocations: 33.89 kB / 0.5116 GB, free: 35.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3237, allocations: 0 / 0.5116 GB, free: 35.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005206/0.3242, allocations: 230.3 kB / 0.5118 GB, free: 34.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.3243, allocations: 51.41 kB / 0.5119 GB, free: 34.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/0.3249, allocations: 0.8563 MB / 0.5127 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.3249, allocations: 25.7 kB / 0.5127 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.325, allocations: 219.4 kB / 0.5129 GB, free: 34.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.3251, allocations: 17.75 kB / 0.513 GB, free: 34.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.3251, allocations: 20.25 kB / 0.513 GB, free: 34.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.3252, allocations: 361.6 kB / 0.5133 GB, free: 33.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.3253, allocations: 18 kB / 0.5133 GB, free: 33.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.113e-05/0.3253, allocations: 16.17 kB / 0.5134 GB, free: 33.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.3254, allocations: 45.36 kB / 0.5134 GB, free: 33.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3254, allocations: 0 / 0.5134 GB, free: 33.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001676/0.3256, allocations: 122 kB / 0.5135 GB, free: 33.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3256, allocations: 3.906 kB / 0.5135 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3256, allocations: 3.188 kB / 0.5135 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3256, allocations: 0 / 0.5135 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.583e-05/0.3257, allocations: 16.19 kB / 0.5135 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.3257, allocations: 0 / 0.5135 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.3258, allocations: 10.09 kB / 0.5136 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.3258, allocations: 6.891 kB / 0.5136 GB, free: 33.84 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 (5): * Single equations (assignments): 5 * 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.0001311/0.3259, allocations: 211 kB / 0.5138 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.326, allocations: 39.66 kB / 0.5138 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.3262, allocations: 138.8 kB / 0.5139 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3262, allocations: 0 / 0.5139 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3262, allocations: 6.469 kB / 0.5139 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3262, allocations: 3.938 kB / 0.5139 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.3267, allocations: 451.1 kB / 0.5144 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3267, allocations: 0 / 0.5144 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.3267, allocations: 15.11 kB / 0.5144 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.3267, allocations: 10.08 kB / 0.5144 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3267, allocations: 3.938 kB / 0.5144 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3268, allocations: 3.938 kB / 0.5144 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3268, allocations: 0 / 0.5144 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.3272, allocations: 0.8621 MB / 0.5152 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.3273, allocations: 109.2 kB / 0.5153 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3273, allocations: 1.156 kB / 0.5153 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.3274, allocations: 3.188 kB / 0.5154 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.3275, allocations: 9.469 kB / 0.5154 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.3275, allocations: 2.219 kB / 0.5154 GB, free: 32.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006128/0.3281, allocations: 0.6487 MB / 0.516 GB, free: 32.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3281, allocations: 0 / 0.516 GB, free: 32.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003408/0.3284, allocations: 24.94 kB / 0.516 GB, free: 32.08 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 (5): * Single equations (assignments): 5 * 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.0008662/0.3293, allocations: 400.5 kB / 0.5164 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.3295, allocations: 54.7 kB / 0.5165 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3295, allocations: 0 / 0.5165 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.404e-05/0.3296, allocations: 29.58 kB / 0.5165 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.33, allocations: 25.97 kB / 0.5165 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000975/0.331, allocations: 0.9756 MB / 0.5175 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.3312, allocations: 0.8212 MB / 0.5183 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.294e-05/0.3312, allocations: 14.27 kB / 0.5183 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.3313, allocations: 13.12 kB / 0.5183 GB, free: 30.58 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3313, allocations: 0 / 0.5183 GB, free: 30.58 MB / 378.7 MB Notification: Performance of Templates: time 0.004262/0.3355, allocations: 1.414 MB / 0.5197 GB, free: 30.39 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches