Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, 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.482/1.482, 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.001089/0.001089, allocations: 107 kB / 291.9 MB, free: 10.95 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.3637/0.3637, allocations: 44.13 MB / 386.1 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 51.92 kB / 457.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3363, allocations: 60.81 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003129/0.3395, allocations: 1.634 MB / 0.508 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007282/0.3403, allocations: 438.8 kB / 0.5084 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.3403, allocations: 4 kB / 0.5084 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.3408, allocations: 448.3 kB / 0.5088 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.3411, allocations: 246.2 kB / 0.5091 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.3416, allocations: 158.8 kB / 0.5092 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.3418, allocations: 156.6 kB / 0.5094 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3419, allocations: 8.969 kB / 0.5094 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.729e-05/0.342, allocations: 109.9 kB / 0.5095 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.3422, allocations: 204.7 kB / 0.5097 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.3422, allocations: 6.562 kB / 0.5097 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.603e-05/0.3423, allocations: 18.97 kB / 0.5097 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.672e-05/0.3424, allocations: 85.83 kB / 0.5098 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.203e-05/0.3425, allocations: 97.58 kB / 0.5099 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.3427, allocations: 235.2 kB / 0.5101 GB, free: 36.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3427, allocations: 0 / 0.5101 GB, free: 36.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3427, allocations: 4 kB / 0.5101 GB, free: 36.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3427, allocations: 3.938 kB / 0.5101 GB, free: 36.39 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000656/0.3434, allocations: 0.6312 MB / 0.5107 GB, free: 35.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3435, allocations: 8.594 kB / 0.5107 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.3435, allocations: 44.53 kB / 0.5108 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.3438, allocations: 291.4 kB / 0.5111 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3438, allocations: 3.25 kB / 0.5111 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.3438, allocations: 384 / 0.5111 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.344, allocations: 62.64 kB / 0.5111 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.344, allocations: 7.922 kB / 0.5111 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.344, allocations: 6.906 kB / 0.5111 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.344, allocations: 0 / 0.5111 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.3442, allocations: 38.45 kB / 0.5112 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.3446, allocations: 391.7 kB / 0.5115 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.3447, allocations: 41.5 kB / 0.5116 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.719e-05/0.3448, allocations: 25.89 kB / 0.5116 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3449, allocations: 0 / 0.5116 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.3449, allocations: 38.5 kB / 0.5116 GB, free: 35.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.3449, allocations: 0 / 0.5116 GB, free: 35.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003354/0.3452, allocations: 124.9 kB / 0.5118 GB, free: 35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.3453, allocations: 54.31 kB / 0.5118 GB, free: 34.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/0.346, allocations: 0.8536 MB / 0.5127 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.346, allocations: 25.7 kB / 0.5127 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.3461, allocations: 224.2 kB / 0.5129 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.3462, allocations: 3.906 kB / 0.5129 GB, free: 34.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.3462, allocations: 15.73 kB / 0.5129 GB, free: 34.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.797e-05/0.3463, allocations: 369.8 kB / 0.5133 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.3464, allocations: 18.98 kB / 0.5133 GB, free: 34.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.284e-05/0.3464, allocations: 12.28 kB / 0.5133 GB, free: 34.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.3465, allocations: 50.03 kB / 0.5133 GB, free: 34.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3466, allocations: 0 / 0.5133 GB, free: 34.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001764/0.3467, allocations: 111.6 kB / 0.5134 GB, free: 33.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3468, allocations: 5.406 kB / 0.5135 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3468, allocations: 0 / 0.5135 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3468, allocations: 2.906 kB / 0.5135 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.418e-05/0.3469, allocations: 8.656 kB / 0.5135 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3469, allocations: 0 / 0.5135 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.3469, allocations: 6.094 kB / 0.5135 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.347, allocations: 2.844 kB / 0.5135 GB, free: 33.96 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 (3): * Single equations (assignments): 3 * 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.0001553/0.3471, allocations: 213.5 kB / 0.5137 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.3472, allocations: 44.94 kB / 0.5137 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.3474, allocations: 121 kB / 0.5138 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3474, allocations: 2.906 kB / 0.5138 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3474, allocations: 0 / 0.5138 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3475, allocations: 0 / 0.5138 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.3477, allocations: 292.1 kB / 0.5141 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3477, allocations: 1.656 kB / 0.5141 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.3478, allocations: 10.02 kB / 0.5141 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3478, allocations: 4 kB / 0.5141 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3478, allocations: 0.9375 kB / 0.5141 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3478, allocations: 0 / 0.5141 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3478, allocations: 1.188 kB / 0.5141 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.3483, allocations: 0.8605 MB / 0.515 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.3484, allocations: 114.5 kB / 0.5151 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.3484, allocations: 4 kB / 0.5151 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.3485, allocations: 10.42 kB / 0.5151 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.3486, allocations: 5.406 kB / 0.5151 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.3486, allocations: 5.219 kB / 0.5151 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006472/0.3492, allocations: 0.6445 MB / 0.5157 GB, free: 32.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3493, allocations: 0 / 0.5157 GB, free: 32.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003635/0.3496, allocations: 21.28 kB / 0.5158 GB, free: 32.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 (3): * Single equations (assignments): 3 * 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.0007117/0.3503, allocations: 350.8 kB / 0.5161 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.3505, allocations: 43.73 kB / 0.5161 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3506, allocations: 4 kB / 0.5161 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.401e-05/0.3506, allocations: 15.61 kB / 0.5161 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.351, allocations: 28.16 kB / 0.5162 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.3522, allocations: 0.9627 MB / 0.5171 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.3526, allocations: 0.8226 MB / 0.5179 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.722e-05/0.3527, allocations: 16.66 kB / 0.5179 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.3527, allocations: 10.83 kB / 0.5179 GB, free: 30.87 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3527, allocations: 0 / 0.5179 GB, free: 30.87 MB / 378.7 MB Notification: Performance of Templates: time 0.004565/0.3573, allocations: 1.285 MB / 0.5192 GB, free: 30.7 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches