Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001313/0.001313, 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.001224/0.001224, allocations: 179.1 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.445/1.445, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2311/0.2311, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002659/0.002659, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4236, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002968/0.4266, allocations: 1.588 MB / 0.52 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007204/0.4274, allocations: 406.4 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.4275, allocations: 1.281 kB / 0.5204 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.4278, allocations: 68.28 kB / 0.5205 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.428, allocations: 71.52 kB / 0.5205 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.4283, allocations: 84.5 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.4285, allocations: 73.81 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.4287, allocations: 15.28 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.4288, allocations: 36.91 kB / 0.5207 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.4289, allocations: 54.27 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.4289, allocations: 2.281 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.4291, allocations: 47.81 kB / 0.5208 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.567e-05/0.4291, allocations: 19.47 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.4292, allocations: 30.69 kB / 0.5209 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.4294, allocations: 97.58 kB / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.4295, allocations: 1.797 kB / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4295, allocations: 7.875 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.4295, allocations: 0 / 0.521 GB, free: 1.68 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.0004961/0.43, allocations: 415.2 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.43, allocations: 9.406 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.4301, allocations: 32.92 kB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.4301, allocations: 10.81 kB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.4303, allocations: 201 kB / 0.5216 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.4303, allocations: 1.25 kB / 0.5216 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.4303, allocations: 11.47 kB / 0.5216 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.4305, allocations: 53.05 kB / 0.5217 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.4305, allocations: 0 / 0.5217 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.4305, allocations: 5.062 kB / 0.5217 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4306, allocations: 4 kB / 0.5217 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.4307, allocations: 25.44 kB / 0.5217 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.431, allocations: 294.1 kB / 0.522 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.4311, allocations: 39.16 kB / 0.522 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.4312, allocations: 19.02 kB / 0.522 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.4312, allocations: 5.062 kB / 0.5221 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.4313, allocations: 32.58 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4313, allocations: 0 / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000921/0.4322, allocations: 226 kB / 0.5223 GB, free: 488 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.4322, allocations: 64.38 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.4325, allocations: 207.2 kB / 0.5226 GB, free: 276 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.4325, allocations: 25.7 kB / 0.5226 GB, free: 244 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.4325, allocations: 100.9 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.4326, allocations: 29.12 kB / 0.5227 GB, free: 124 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.4326, allocations: 20.89 kB / 0.5227 GB, free: 104 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4328, allocations: 321.8 kB / 0.523 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.4329, allocations: 30.97 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.577e-05/0.433, allocations: 22.73 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.4331, allocations: 59.73 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.4331, allocations: 0 / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002368/0.4334, allocations: 100.5 kB / 0.5232 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.4334, allocations: 10.36 kB / 0.5232 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4334, allocations: 4 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4335, allocations: 1.156 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.4336, allocations: 17.5 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4336, allocations: 4.688 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.4336, allocations: 4.875 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.4336, allocations: 2 kB / 0.5233 GB, free: 15.68 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 0.000121/0.4338, allocations: 126.9 kB / 0.5234 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.4338, allocations: 12.72 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.4341, allocations: 130.8 kB / 0.5235 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4341, allocations: 1.719 kB / 0.5235 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.4342, allocations: 3.938 kB / 0.5235 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4342, allocations: 0.75 kB / 0.5235 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006166/0.4348, allocations: 407.7 kB / 0.5239 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.4348, allocations: 6.094 kB / 0.5239 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.95e-05/0.4349, allocations: 22.81 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4349, allocations: 0 / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.4349, allocations: 432 / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.4349, allocations: 3.219 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.4349, allocations: 0 / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.4352, allocations: 201.8 kB / 0.5242 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.4353, allocations: 88.27 kB / 0.5242 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.4353, allocations: 6.719 kB / 0.5242 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.4354, allocations: 13 kB / 0.5243 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.4355, allocations: 5.234 kB / 0.5243 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.4355, allocations: 3.625 kB / 0.5243 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.4356, allocations: 155.9 kB / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4356, allocations: 0 / 0.5244 GB, free: 14.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.4359, allocations: 23.62 kB / 0.5244 GB, free: 14.73 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.002283/0.4382, allocations: 1.091 MB / 0.5255 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.4385, allocations: 59.78 kB / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4385, allocations: 0 / 0.5256 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.4386, allocations: 38.66 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.4391, allocations: 19.17 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.4411, allocations: 1.653 MB / 0.5272 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.4414, allocations: 0.7063 MB / 0.5279 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.904e-05/0.4415, allocations: 13.28 kB / 0.5279 GB, free: 11.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.4416, allocations: 32.09 kB / 0.528 GB, free: 11.79 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4416, allocations: 0 / 0.528 GB, free: 11.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.4669, allocations: 3.023 MB / 0.5309 GB, free: 10.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.797/8.264, allocations: 5.859 kB / 0.5309 GB, free: 10.5 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches