Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.00148/0.00148, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.411/1.411, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2122/0.2122, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.342, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002545/0.3446, allocations: 1.588 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006532/0.3453, allocations: 410.9 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.153e-05/0.3454, allocations: 1 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.3457, allocations: 77.14 kB / 0.5205 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.3459, allocations: 63.81 kB / 0.5205 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.3462, allocations: 107.1 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.3464, allocations: 74.77 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.634e-05/0.3465, allocations: 23.84 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.828e-05/0.3465, allocations: 37.38 kB / 0.5208 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.3466, allocations: 53.92 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.3467, allocations: 3.469 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.87e-05/0.3468, allocations: 47.62 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.3468, allocations: 23.52 kB / 0.5209 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.3469, allocations: 26.34 kB / 0.5209 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.3471, allocations: 95.75 kB / 0.521 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3471, allocations: 0 / 0.521 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3471, allocations: 3.938 kB / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.3471, allocations: 0.7031 kB / 0.521 GB, free: 1.688 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004353/0.3476, allocations: 415.7 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3476, allocations: 9.875 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.3476, allocations: 37.03 kB / 0.5214 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.3477, allocations: 13.36 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.3478, allocations: 198.1 kB / 0.5216 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3479, allocations: 1.531 kB / 0.5216 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.3479, allocations: 6.594 kB / 0.5217 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.348, allocations: 57.55 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.348, allocations: 0.7031 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3481, allocations: 1.031 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3481, allocations: 5.141 kB / 0.5217 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.828e-05/0.3482, allocations: 30.53 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.3485, allocations: 300 kB / 0.522 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.3487, allocations: 45.69 kB / 0.5221 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.3487, allocations: 19.7 kB / 0.5221 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.3488, allocations: 3.938 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.3488, allocations: 36.27 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3488, allocations: 0 / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008807/0.3497, allocations: 243.8 kB / 0.5224 GB, free: 480 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.3497, allocations: 59.94 kB / 0.5224 GB, free: 408 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.3499, allocations: 210.4 kB / 0.5226 GB, free: 268 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.3499, allocations: 26.41 kB / 0.5226 GB, free: 236 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.35, allocations: 105.3 kB / 0.5227 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.35, allocations: 29.8 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.35, allocations: 20.52 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3502, allocations: 321.7 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/0.3503, allocations: 31.12 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/0.3504, allocations: 34.55 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.3505, allocations: 75.56 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3505, allocations: 0 / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002279/0.3508, allocations: 108.8 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3508, allocations: 10.11 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3508, allocations: 0 / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3508, allocations: 1.594 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3509, allocations: 21.41 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.351, allocations: 3.938 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.351, allocations: 9.016 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.351, allocations: 2.938 kB / 0.5234 GB, free: 15.65 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 (8): * Single equations (assignments): 8 * 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 9.499e-05/0.3511, allocations: 126.8 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.3512, allocations: 14.38 kB / 0.5235 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.3515, allocations: 130.7 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3515, allocations: 4.906 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.3515, allocations: 5.156 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3515, allocations: 0.7031 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.3521, allocations: 415.5 kB / 0.524 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.3521, allocations: 5.031 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.216e-05/0.3522, allocations: 17.75 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3522, allocations: 5.031 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.3522, allocations: 5 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3522, allocations: 2.062 kB / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3522, allocations: 0 / 0.5241 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.3525, allocations: 205.7 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.3526, allocations: 90.08 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.3526, allocations: 5.188 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.3527, allocations: 12.56 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.3527, allocations: 6.75 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3527, allocations: 6.031 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.3529, allocations: 157 kB / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.783e-06/0.3529, allocations: 0 / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.3531, allocations: 27.69 kB / 0.5246 GB, free: 14.7 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001483/0.3546, allocations: 1.096 MB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.3549, allocations: 79.52 kB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3549, allocations: 0 / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.355, allocations: 44.11 kB / 0.5258 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.3554, allocations: 24.95 kB / 0.5258 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.3574, allocations: 1.68 MB / 0.5274 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.3577, allocations: 0.7131 MB / 0.5281 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.947e-05/0.3578, allocations: 16.31 kB / 0.5281 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.3579, allocations: 36.94 kB / 0.5282 GB, free: 11.74 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3579, allocations: 0 / 0.5282 GB, free: 11.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.3789, allocations: 3.074 MB / 0.5312 GB, free: 10.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.091, allocations: 12.42 kB / 0.5312 GB, free: 10.38 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches