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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19",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.001352/0.001352, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.001143/0.001143, 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.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2033/0.2033, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3214, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.00253/0.324, allocations: 1.554 MB / 0.52 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.3252, allocations: 1.036 MB / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.3252, allocations: 0 / 0.521 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.3254, allocations: 24.59 kB / 0.521 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.3256, allocations: 44.83 kB / 0.521 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.3259, allocations: 104.3 kB / 0.5211 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.326, allocations: 59.83 kB / 0.5212 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.219e-05/0.3261, allocations: 16.53 kB / 0.5212 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.3262, allocations: 23.92 kB / 0.5212 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.3263, allocations: 29.36 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.3263, allocations: 2.594 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.623e-05/0.3264, allocations: 46.75 kB / 0.5213 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.3265, allocations: 12.25 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.3265, allocations: 26.73 kB / 0.5213 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.3267, allocations: 89.58 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3267, allocations: 0 / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3267, allocations: 0 / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.3267, allocations: 1.312 kB / 0.5214 GB, free: 1.25 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.0003625/0.3271, allocations: 373.9 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3271, allocations: 18.81 kB / 0.5218 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.4e-05/0.3272, allocations: 31.45 kB / 0.5218 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.3272, allocations: 8.703 kB / 0.5218 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.3274, allocations: 193.7 kB / 0.522 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.3274, allocations: 1.625 kB / 0.522 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.3274, allocations: 2.844 kB / 0.522 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3275, allocations: 70.52 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3276, allocations: 3.953 kB / 0.5221 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3276, allocations: 5.5 kB / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3276, allocations: 0 / 0.5221 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.178e-05/0.3277, allocations: 24.5 kB / 0.5221 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.328, allocations: 274.9 kB / 0.5224 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.3282, allocations: 49.64 kB / 0.5224 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.3283, allocations: 19.28 kB / 0.5225 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3283, allocations: 1.062 kB / 0.5225 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.3283, allocations: 36.08 kB / 0.5225 GB, free: 164 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3283, allocations: 0 / 0.5225 GB, free: 164 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005176/0.3288, allocations: 138.9 kB / 0.5226 GB, free: 104 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.3289, allocations: 86.98 kB / 0.5227 GB, free: 0 / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.329, allocations: 134.9 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.329, allocations: 29.7 kB / 0.5229 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.3291, allocations: 94.06 kB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.3291, allocations: 15.44 kB / 0.523 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.3291, allocations: 14.59 kB / 0.523 GB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.3292, allocations: 323.4 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.507e-05/0.3293, allocations: 19.94 kB / 0.5233 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.979e-05/0.3294, allocations: 46.45 kB / 0.5234 GB, free: 15.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3296, allocations: 51.16 kB / 0.5234 GB, free: 15.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3296, allocations: 0 / 0.5234 GB, free: 15.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001867/0.3298, allocations: 85.95 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3298, allocations: 4.594 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3298, allocations: 5.781 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3298, allocations: 0 / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.3299, allocations: 13.06 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3299, allocations: 3.938 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.3299, allocations: 5.5 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.33, allocations: 5.062 kB / 0.5235 GB, free: 15.3 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.467e-05/0.33, allocations: 119.7 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.3301, allocations: 7.297 kB / 0.5237 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.3303, allocations: 97.48 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3303, allocations: 0.6562 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3303, allocations: 1.062 kB / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3303, allocations: 0 / 0.5237 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.3308, allocations: 354.6 kB / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3308, allocations: 0 / 0.5241 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.3308, allocations: 16.05 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3308, allocations: 5.281 kB / 0.5241 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3309, allocations: 5.797 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3309, allocations: 3.938 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3309, allocations: 1.125 kB / 0.5241 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.3311, allocations: 185.1 kB / 0.5243 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.3311, allocations: 82.88 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3312, allocations: 1.703 kB / 0.5244 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.3312, allocations: 21.12 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.3313, allocations: 3.938 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.3313, allocations: 1.734 kB / 0.5244 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.824e-05/0.3314, allocations: 103 kB / 0.5245 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3314, allocations: 1.781 kB / 0.5245 GB, free: 14.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.3316, allocations: 23.91 kB / 0.5245 GB, free: 14.41 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.00128/0.3329, allocations: 1.059 MB / 0.5256 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.3332, allocations: 57.75 kB / 0.5256 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3332, allocations: 0 / 0.5256 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.122e-05/0.3333, allocations: 26.36 kB / 0.5256 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.3336, allocations: 17.64 kB / 0.5257 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.335, allocations: 1.411 MB / 0.527 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.3352, allocations: 0.6965 MB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.307e-05/0.3353, allocations: 12.3 kB / 0.5277 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.3353, allocations: 25.36 kB / 0.5277 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3354, allocations: 0 / 0.5277 GB, free: 11.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.3552, allocations: 2.779 MB / 0.5305 GB, free: 10.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.206, allocations: 8.656 kB / 0.5305 GB, free: 10.45 MB / 398.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/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