Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",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.001514/0.001514, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001762/0.001762, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.451/1.451, 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.2253/0.2253, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 56.14 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3458, allocations: 60.82 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002566/0.3484, allocations: 1.585 MB / 0.52 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006674/0.3491, allocations: 414.9 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.3491, allocations: 1.281 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.3495, allocations: 120.2 kB / 0.5205 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.3497, allocations: 89.06 kB / 0.5206 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.3501, allocations: 109.2 kB / 0.5207 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.3503, allocations: 91 kB / 0.5208 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.3504, allocations: 15.02 kB / 0.5208 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.804e-05/0.3504, allocations: 48.67 kB / 0.5208 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.3506, allocations: 84.45 kB / 0.5209 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.3506, allocations: 2.312 kB / 0.5209 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-05/0.3507, allocations: 43.55 kB / 0.521 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.3507, allocations: 24.36 kB / 0.521 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.3508, allocations: 39.41 kB / 0.521 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.351, allocations: 119.2 kB / 0.5211 GB, free: 1.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.351, allocations: 1 kB / 0.5211 GB, free: 1.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.351, allocations: 0 / 0.5211 GB, free: 1.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3511, allocations: 0 / 0.5211 GB, free: 1.66 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.0004345/0.3515, allocations: 435.5 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3515, allocations: 13.91 kB / 0.5216 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.152e-05/0.3516, allocations: 32.5 kB / 0.5216 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.3516, allocations: 14.56 kB / 0.5216 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3518, allocations: 201.8 kB / 0.5218 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.3518, allocations: 1.984 kB / 0.5218 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.3518, allocations: 6.594 kB / 0.5218 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.352, allocations: 61.03 kB / 0.5219 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.352, allocations: 0 / 0.5219 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.352, allocations: 1.859 kB / 0.5219 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.352, allocations: 5.344 kB / 0.5219 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.723e-05/0.3521, allocations: 30.14 kB / 0.5219 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.3525, allocations: 310.2 kB / 0.5222 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.3526, allocations: 53.17 kB / 0.5223 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.3526, allocations: 19.2 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.3526, allocations: 4.906 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.054e-05/0.3527, allocations: 36.33 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3527, allocations: 0 / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008279/0.3535, allocations: 246 kB / 0.5226 GB, free: 424 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.3535, allocations: 55.34 kB / 0.5226 GB, free: 356 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.3538, allocations: 270.1 kB / 0.5229 GB, free: 208 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.3538, allocations: 25.7 kB / 0.5229 GB, free: 176 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.3538, allocations: 115.3 kB / 0.523 GB, free: 68 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.3538, allocations: 33.48 kB / 0.523 GB, free: 40 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.3539, allocations: 21.75 kB / 0.5231 GB, free: 20 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.354, allocations: 327.8 kB / 0.5234 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.894e-05/0.3541, allocations: 31.03 kB / 0.5234 GB, free: 15.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.3542, allocations: 30.41 kB / 0.5234 GB, free: 15.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.3544, allocations: 75.67 kB / 0.5235 GB, free: 15.65 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3544, allocations: 1.438 kB / 0.5235 GB, free: 15.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002209/0.3546, allocations: 115 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.3546, allocations: 3.938 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3547, allocations: 4.75 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3547, allocations: 1.562 kB / 0.5236 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.724e-05/0.3548, allocations: 20.14 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3548, allocations: 5.188 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.3548, allocations: 4.234 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.3548, allocations: 2.25 kB / 0.5236 GB, free: 15.58 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.0001033/0.355, allocations: 134.9 kB / 0.5238 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.934e-05/0.355, allocations: 14.69 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.3553, allocations: 141.7 kB / 0.5239 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.3553, allocations: 5.156 kB / 0.5239 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.3553, allocations: 4.594 kB / 0.5239 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3553, allocations: 10.12 kB / 0.5239 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.3559, allocations: 422.1 kB / 0.5243 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.3559, allocations: 4.734 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.356, allocations: 24.22 kB / 0.5244 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.356, allocations: 1.094 kB / 0.5244 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.356, allocations: 2.828 kB / 0.5244 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.356, allocations: 0.6094 kB / 0.5244 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.356, allocations: 1.094 kB / 0.5244 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.3564, allocations: 219.2 kB / 0.5246 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.3564, allocations: 92.44 kB / 0.5247 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3565, allocations: 5.984 kB / 0.5247 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.3566, allocations: 6.094 kB / 0.5247 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.3566, allocations: 9.531 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.3566, allocations: 3.516 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.3568, allocations: 204.3 kB / 0.5249 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3568, allocations: 0 / 0.5249 GB, free: 14.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000256/0.3571, allocations: 16.75 kB / 0.5249 GB, free: 14.59 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.001422/0.3585, allocations: 1.119 MB / 0.526 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.3587, allocations: 71.8 kB / 0.5261 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3588, allocations: 0 / 0.5261 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.451e-05/0.3589, allocations: 42.34 kB / 0.5261 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.3592, allocations: 17.55 kB / 0.5261 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.3614, allocations: 1.821 MB / 0.5279 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.3617, allocations: 0.7239 MB / 0.5286 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.449e-05/0.3618, allocations: 20.66 kB / 0.5286 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/0.3619, allocations: 37.66 kB / 0.5287 GB, free: 11.59 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3619, allocations: 5.25 kB / 0.5287 GB, free: 11.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.3826, allocations: 3.36 MB / 0.532 GB, free: 10.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/8.029, allocations: 16.09 kB / 0.532 GB, free: 10 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches