Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, 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.487/1.487, 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.0009953/0.0009952, allocations: 97.52 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.3452/0.3452, allocations: 44.13 MB / 386.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 47.92 kB / 457.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3423, allocations: 60.81 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003102/0.3454, allocations: 1.696 MB / 0.508 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008743/0.3463, allocations: 447.1 kB / 0.5085 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.3464, allocations: 1.312 kB / 0.5085 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.3467, allocations: 73.05 kB / 0.5085 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.3469, allocations: 55.83 kB / 0.5086 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.3473, allocations: 163.6 kB / 0.5088 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.3475, allocations: 87.06 kB / 0.5088 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3476, allocations: 23.25 kB / 0.5089 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.3477, allocations: 30.78 kB / 0.5089 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.3478, allocations: 56.11 kB / 0.5089 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.3478, allocations: 2.875 kB / 0.5089 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.348, allocations: 47.2 kB / 0.509 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.068e-05/0.348, allocations: 30.69 kB / 0.509 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.357e-05/0.3481, allocations: 32.7 kB / 0.509 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.3483, allocations: 106.3 kB / 0.5092 GB, free: 36.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3483, allocations: 0 / 0.5092 GB, free: 36.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3483, allocations: 0 / 0.5092 GB, free: 36.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.3483, allocations: 4 kB / 0.5092 GB, free: 36.57 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004927/0.3488, allocations: 420 kB / 0.5096 GB, free: 36.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3489, allocations: 12 kB / 0.5096 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.3489, allocations: 8.062 kB / 0.5096 GB, free: 36.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.3491, allocations: 199.7 kB / 0.5098 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3491, allocations: 4.094 kB / 0.5098 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3492, allocations: 4.375 kB / 0.5098 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.3494, allocations: 73.39 kB / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3494, allocations: 0 / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3494, allocations: 0 / 0.5098 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3494, allocations: 7.922 kB / 0.5098 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.3496, allocations: 44.67 kB / 0.5099 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.35, allocations: 324.4 kB / 0.5102 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.3503, allocations: 65.08 kB / 0.5103 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.503e-05/0.3504, allocations: 25.33 kB / 0.5103 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3504, allocations: 0 / 0.5103 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.3504, allocations: 32.94 kB / 0.5103 GB, free: 35.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.031e-06/0.3504, allocations: 0 / 0.5103 GB, free: 35.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001555/0.352, allocations: 416.9 kB / 0.5107 GB, free: 35.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.3521, allocations: 58.09 kB / 0.5108 GB, free: 35.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.3523, allocations: 212.2 kB / 0.511 GB, free: 35.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.3523, allocations: 25.7 kB / 0.511 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.3524, allocations: 115.8 kB / 0.5111 GB, free: 35.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.3525, allocations: 36.56 kB / 0.5111 GB, free: 34.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.3525, allocations: 28.98 kB / 0.5112 GB, free: 34.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.3526, allocations: 327.7 kB / 0.5115 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.3527, allocations: 47.7 kB / 0.5115 GB, free: 34.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.3528, allocations: 59.41 kB / 0.5116 GB, free: 34.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3531, allocations: 131.1 kB / 0.5117 GB, free: 34.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3531, allocations: 64 / 0.5117 GB, free: 34.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003171/0.3534, allocations: 161.9 kB / 0.5119 GB, free: 34.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3535, allocations: 2.875 kB / 0.5119 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3535, allocations: 6.031 kB / 0.5119 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3535, allocations: 3.938 kB / 0.5119 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.3536, allocations: 29.75 kB / 0.5119 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.3536, allocations: 2.812 kB / 0.5119 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.3537, allocations: 13.09 kB / 0.5119 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.3537, allocations: 7.031 kB / 0.5119 GB, free: 34.46 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 (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 8.849e-05/0.3538, allocations: 129.3 kB / 0.5121 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.3538, allocations: 16.69 kB / 0.5121 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.3542, allocations: 188.2 kB / 0.5122 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3543, allocations: 10.16 kB / 0.5123 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3543, allocations: 0 / 0.5123 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3543, allocations: 0 / 0.5123 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006328/0.3549, allocations: 0.4946 MB / 0.5127 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3549, allocations: 0 / 0.5127 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.513e-05/0.355, allocations: 26.86 kB / 0.5128 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.355, allocations: 0 / 0.5128 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.3551, allocations: 6.938 kB / 0.5128 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3551, allocations: 0 / 0.5128 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3551, allocations: 3.031 kB / 0.5128 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007551/0.3558, allocations: 0.8959 MB / 0.5137 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.3559, allocations: 95.89 kB / 0.5137 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.3559, allocations: 4 kB / 0.5137 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.42e-05/0.356, allocations: 9.047 kB / 0.5138 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.3561, allocations: 20.91 kB / 0.5138 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.3561, allocations: 3.375 kB / 0.5138 GB, free: 32.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.3562, allocations: 150.1 kB / 0.5139 GB, free: 32.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3562, allocations: 96 / 0.5139 GB, free: 32.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.3566, allocations: 38.8 kB / 0.514 GB, free: 32.83 MB / 378.7 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.001012/0.3576, allocations: 457.4 kB / 0.5144 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.358, allocations: 128.7 kB / 0.5145 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.358, allocations: 0 / 0.5145 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.3581, allocations: 69.16 kB / 0.5146 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.3585, allocations: 21.42 kB / 0.5146 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.3592, allocations: 499.4 kB / 0.5151 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.3595, allocations: 0.733 MB / 0.5158 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.832e-05/0.3596, allocations: 27.73 kB / 0.5158 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.3596, allocations: 17.45 kB / 0.5158 GB, free: 31.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3596, allocations: 0 / 0.5158 GB, free: 31.46 MB / 378.7 MB Notification: Performance of Templates: time 0.004233/0.3639, allocations: 1.541 MB / 0.5173 GB, free: 31.29 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches