Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001146, allocations: 106.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 187.9 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2237/0.2237, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 55.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4248, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003103/0.428, allocations: 1.571 MB / 0.5204 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.4298, allocations: 1.02 MB / 0.5214 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.4299, allocations: 5.031 kB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.4303, allocations: 24.66 kB / 0.5215 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.4307, allocations: 44.73 kB / 0.5215 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.4311, allocations: 103.9 kB / 0.5216 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.4313, allocations: 60.19 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.4315, allocations: 12.66 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.48e-05/0.4316, allocations: 22.64 kB / 0.5217 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.4318, allocations: 29.41 kB / 0.5217 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.4318, allocations: 3.438 kB / 0.5217 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.432, allocations: 54.58 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.4321, allocations: 12.89 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.4321, allocations: 20.38 kB / 0.5218 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.4324, allocations: 90.92 kB / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.4324, allocations: 1.125 kB / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4324, allocations: 0 / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.4324, allocations: 0 / 0.5219 GB, free: 1.566 MB / 382.1 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.0005587/0.433, allocations: 375.3 kB / 0.5223 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/0.4331, allocations: 8.938 kB / 0.5223 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.4332, allocations: 12.38 kB / 0.5223 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.4334, allocations: 188.5 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.4334, allocations: 1.594 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.4335, allocations: 1.375 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.4337, allocations: 74.3 kB / 0.5225 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.4337, allocations: 0.8438 kB / 0.5225 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.4337, allocations: 5 kB / 0.5225 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.4338, allocations: 0.75 kB / 0.5225 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.4339, allocations: 24.2 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.4344, allocations: 274.8 kB / 0.5228 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.4347, allocations: 49.45 kB / 0.5229 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.4348, allocations: 18.91 kB / 0.5229 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.4348, allocations: 2.094 kB / 0.5229 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.4348, allocations: 35.62 kB / 0.5229 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.804e-06/0.4348, allocations: 0 / 0.5229 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008503/0.4357, allocations: 146.5 kB / 0.5231 GB, free: 476 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.4357, allocations: 82.78 kB / 0.5232 GB, free: 376 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.4359, allocations: 131 kB / 0.5233 GB, free: 264 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.4359, allocations: 26.64 kB / 0.5233 GB, free: 232 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.436, allocations: 96.25 kB / 0.5234 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.436, allocations: 15.58 kB / 0.5234 GB, free: 124 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.4361, allocations: 20.3 kB / 0.5234 GB, free: 104 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.4363, allocations: 322 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.4364, allocations: 20.8 kB / 0.5238 GB, free: 15.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.4366, allocations: 38.3 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.4368, allocations: 54.39 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.4369, allocations: 1.125 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003369/0.4372, allocations: 84.64 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.4372, allocations: 9.625 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4373, allocations: 4.688 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.4373, allocations: 1.656 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.651e-05/0.4374, allocations: 12.2 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4374, allocations: 0 / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.797e-05/0.4375, allocations: 5.375 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.4375, allocations: 5.438 kB / 0.524 GB, free: 15.67 MB / 398.1 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.0001172/0.4376, allocations: 122.9 kB / 0.5241 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.4377, allocations: 8.312 kB / 0.5241 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.438, allocations: 96.75 kB / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.438, allocations: 6.062 kB / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.438, allocations: 0 / 0.5242 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.438, allocations: 4.688 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006391/0.4387, allocations: 353.7 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4387, allocations: 0 / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.4388, allocations: 12.14 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4388, allocations: 5.969 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.4388, allocations: 4.75 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4388, allocations: 3.938 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4388, allocations: 1.875 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.4391, allocations: 180.2 kB / 0.5247 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.4392, allocations: 80.09 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.4392, allocations: 0 / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.4394, allocations: 14.45 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.4394, allocations: 7.953 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.4394, allocations: 1.156 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.4396, allocations: 106.7 kB / 0.5249 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4396, allocations: 0 / 0.5249 GB, free: 14.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003913/0.44, allocations: 20.97 kB / 0.5249 GB, free: 14.79 MB / 398.1 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.00136/0.4413, allocations: 453.1 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.4416, allocations: 48.33 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4417, allocations: 1.531 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.4418, allocations: 37.22 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.4422, allocations: 21.92 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.4428, allocations: 163.5 kB / 0.5256 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.4432, allocations: 0.6925 MB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.683e-05/0.4433, allocations: 13.55 kB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.4433, allocations: 13.47 kB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4434, allocations: 5.5 kB / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of Templates: time 0.005986/0.4493, allocations: 1.384 MB / 0.5277 GB, free: 13.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches