Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",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.001169/0.001169, 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.001083/0.001083, 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.332/1.332, 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.2025/0.2025, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.89 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.32, allocations: 60.83 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002391/0.3225, allocations: 1.561 MB / 0.52 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006423/0.3231, allocations: 408.2 kB / 0.5204 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.3232, allocations: 0 / 0.5204 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.3234, allocations: 20.81 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.3235, allocations: 43.62 kB / 0.5204 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.3238, allocations: 106.5 kB / 0.5205 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.3239, allocations: 56.16 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.324, allocations: 16.8 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.3241, allocations: 18.61 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.3241, allocations: 23.16 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.3242, allocations: 2.656 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.594e-05/0.3242, allocations: 30.67 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.3243, allocations: 14.05 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.3243, allocations: 16.81 kB / 0.5207 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.3245, allocations: 81.3 kB / 0.5208 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3245, allocations: 4 kB / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3245, allocations: 0 / 0.5208 GB, free: 1.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.3245, allocations: 0 / 0.5208 GB, free: 1.746 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.0003367/0.3248, allocations: 380.3 kB / 0.5211 GB, free: 1.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.3249, allocations: 9.938 kB / 0.5211 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.191e-05/0.3249, allocations: 36.56 kB / 0.5212 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.754e-05/0.3249, allocations: 7.719 kB / 0.5212 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.325, allocations: 186.2 kB / 0.5214 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-06/0.3251, allocations: 1.594 kB / 0.5214 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.3251, allocations: 7.359 kB / 0.5214 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.3252, allocations: 57.77 kB / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3252, allocations: 0 / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.3252, allocations: 0 / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3252, allocations: 1.344 kB / 0.5214 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.376e-05/0.3253, allocations: 27.94 kB / 0.5215 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.3256, allocations: 278.6 kB / 0.5217 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.3258, allocations: 50.81 kB / 0.5218 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.3259, allocations: 14.03 kB / 0.5218 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3259, allocations: 5.188 kB / 0.5218 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.117e-05/0.3259, allocations: 32.34 kB / 0.5218 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3259, allocations: 0 / 0.5218 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004974/0.3264, allocations: 146.6 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.3265, allocations: 56.53 kB / 0.522 GB, free: 0.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.704e-05/0.3266, allocations: 143.2 kB / 0.5222 GB, free: 440 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.3266, allocations: 26.36 kB / 0.5222 GB, free: 408 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.3266, allocations: 93.5 kB / 0.5223 GB, free: 316 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.3266, allocations: 23.97 kB / 0.5223 GB, free: 296 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.3267, allocations: 18.86 kB / 0.5223 GB, free: 276 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.3267, allocations: 326.5 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-05/0.3268, allocations: 21.61 kB / 0.5226 GB, free: 15.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.443e-05/0.3269, allocations: 20.58 kB / 0.5227 GB, free: 15.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.327, allocations: 52.16 kB / 0.5227 GB, free: 15.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.327, allocations: 0 / 0.5227 GB, free: 15.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001916/0.3272, allocations: 92.83 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.3273, allocations: 4.719 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3273, allocations: 9.516 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3273, allocations: 1.156 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.118e-05/0.3274, allocations: 12.06 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3274, allocations: 0.5625 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.3274, allocations: 5.516 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.3274, allocations: 9.438 kB / 0.5228 GB, free: 15.85 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 7.818e-05/0.3275, allocations: 119.5 kB / 0.523 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.3275, allocations: 7.469 kB / 0.523 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.3278, allocations: 98.25 kB / 0.5231 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3278, allocations: 1.281 kB / 0.5231 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3278, allocations: 0.75 kB / 0.5231 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3278, allocations: 5.516 kB / 0.5231 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.3282, allocations: 344.2 kB / 0.5234 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3282, allocations: 4 kB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.079e-05/0.3283, allocations: 20.81 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3283, allocations: 0.6562 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3283, allocations: 0 / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.3283, allocations: 9.969 kB / 0.5234 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3283, allocations: 4.797 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.3286, allocations: 180 kB / 0.5236 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.3286, allocations: 83.81 kB / 0.5237 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.3286, allocations: 1.922 kB / 0.5237 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.3287, allocations: 12.42 kB / 0.5237 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.3287, allocations: 3.953 kB / 0.5237 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3288, allocations: 1.188 kB / 0.5237 GB, free: 15.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.848e-05/0.3288, allocations: 110.3 kB / 0.5238 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3288, allocations: 0 / 0.5238 GB, free: 14.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.3291, allocations: 13.8 kB / 0.5238 GB, free: 14.97 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.001194/0.3303, allocations: 1.01 MB / 0.5248 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.3305, allocations: 52.91 kB / 0.5249 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3305, allocations: 4 kB / 0.5249 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.888e-05/0.3306, allocations: 29.97 kB / 0.5249 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3309, allocations: 18.39 kB / 0.5249 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.3323, allocations: 1.426 MB / 0.5263 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.3325, allocations: 0.6942 MB / 0.527 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.639e-05/0.3326, allocations: 18.77 kB / 0.527 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.3326, allocations: 22.52 kB / 0.527 GB, free: 12.19 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3327, allocations: 0 / 0.527 GB, free: 12.19 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.3503, allocations: 2.484 MB / 0.5294 GB, free: 11.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.177, allocations: 6.906 kB / 0.5294 GB, free: 11.28 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches