Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",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.001445/0.001445, allocations: 113.8 kB / 17.77 MB, free: 5.359 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.001947/0.001948, allocations: 183.9 kB / 18.7 MB, free: 4.438 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.472/1.472, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2111/0.2111, allocations: 44.17 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3956, allocations: 60.84 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002989/0.3987, allocations: 1.629 MB / 0.52 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.3995, allocations: 466.6 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.3996, allocations: 1 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007443/0.4004, allocations: 451.1 kB / 0.5209 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.4008, allocations: 253.6 kB / 0.5212 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.4014, allocations: 176.3 kB / 0.5213 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.4017, allocations: 175.3 kB / 0.5215 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.4018, allocations: 29.67 kB / 0.5215 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.402, allocations: 109.8 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.4022, allocations: 214.1 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.4023, allocations: 2.656 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.4024, allocations: 55.91 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.4025, allocations: 87.14 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.906e-05/0.4026, allocations: 101.6 kB / 0.5221 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.403, allocations: 282.9 kB / 0.5223 GB, free: 1.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.403, allocations: 0 / 0.5223 GB, free: 1.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.403, allocations: 0 / 0.5223 GB, free: 1.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.403, allocations: 0 / 0.5223 GB, free: 1.395 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007568/0.4038, allocations: 0.6693 MB / 0.523 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.4039, allocations: 10.28 kB / 0.523 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.4039, allocations: 37.45 kB / 0.523 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.404, allocations: 43.75 kB / 0.5231 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.4042, allocations: 304.8 kB / 0.5234 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.4042, allocations: 6.656 kB / 0.5234 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.4043, allocations: 3.266 kB / 0.5234 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.4045, allocations: 66.03 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4045, allocations: 2.047 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.4045, allocations: 7.938 kB / 0.5235 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.4045, allocations: 13.5 kB / 0.5235 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.4047, allocations: 37.94 kB / 0.5235 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.4053, allocations: 423.7 kB / 0.5239 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.4056, allocations: 64.77 kB / 0.524 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.4057, allocations: 26.52 kB / 0.524 GB, free: 0 / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/0.4057, allocations: 6.188 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.4058, allocations: 31.08 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.4058, allocations: 0 / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001785/0.4076, allocations: 0.4977 MB / 0.5245 GB, free: 15.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.4076, allocations: 57.56 kB / 0.5246 GB, free: 15.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.4088, allocations: 0.8571 MB / 0.5254 GB, free: 15.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.4088, allocations: 31.55 kB / 0.5254 GB, free: 15.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.409, allocations: 210.2 kB / 0.5256 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.239e-05/0.4091, allocations: 42.12 kB / 0.5257 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.4091, allocations: 24.61 kB / 0.5257 GB, free: 15.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4093, allocations: 367.8 kB / 0.5261 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.4094, allocations: 52.08 kB / 0.5261 GB, free: 14.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.4096, allocations: 56.7 kB / 0.5262 GB, free: 14.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.4099, allocations: 123.6 kB / 0.5263 GB, free: 14.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4099, allocations: 4 kB / 0.5263 GB, free: 14.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003734/0.4102, allocations: 190.7 kB / 0.5265 GB, free: 14.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4103, allocations: 4.125 kB / 0.5265 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4103, allocations: 5.312 kB / 0.5265 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4103, allocations: 3.938 kB / 0.5265 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.4104, allocations: 32.53 kB / 0.5265 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4104, allocations: 1.375 kB / 0.5265 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.491e-05/0.4105, allocations: 13.5 kB / 0.5265 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.4106, allocations: 3.312 kB / 0.5265 GB, free: 14.54 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 (11): * Single equations (assignments): 11 * 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.0002008/0.4108, allocations: 215.5 kB / 0.5267 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/0.4108, allocations: 51.5 kB / 0.5268 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004967/0.4113, allocations: 237.5 kB / 0.527 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4114, allocations: 5.406 kB / 0.527 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.4114, allocations: 8 kB / 0.527 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4114, allocations: 0 / 0.527 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.4124, allocations: 0.5988 MB / 0.5276 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4124, allocations: 96 / 0.5276 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.4126, allocations: 33.36 kB / 0.5276 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4126, allocations: 1.375 kB / 0.5276 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.4126, allocations: 1.344 kB / 0.5276 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4126, allocations: 5.219 kB / 0.5276 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4126, allocations: 0.6562 kB / 0.5276 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004999/0.4131, allocations: 311.2 kB / 0.5279 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.4132, allocations: 118.5 kB / 0.528 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.4133, allocations: 1.969 kB / 0.5281 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.4134, allocations: 7.031 kB / 0.5281 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.4135, allocations: 12.36 kB / 0.5281 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.4135, allocations: 3.625 kB / 0.5281 GB, free: 13.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007057/0.4142, allocations: 0.6512 MB / 0.5287 GB, free: 13 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4142, allocations: 5.188 kB / 0.5287 GB, free: 13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.4145, allocations: 28.94 kB / 0.5287 GB, free: 12.99 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001758/0.4163, allocations: 1.194 MB / 0.5299 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.4167, allocations: 136.4 kB / 0.53 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4167, allocations: 0 / 0.53 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.4169, allocations: 70.83 kB / 0.5301 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.4173, allocations: 26.28 kB / 0.5301 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.4218, allocations: 3.514 MB / 0.5336 GB, free: 9.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.4223, allocations: 0.8399 MB / 0.5344 GB, free: 8.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.4224, allocations: 29.91 kB / 0.5344 GB, free: 8.945 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.4226, allocations: 127.3 kB / 0.5345 GB, free: 8.832 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4226, allocations: 0 / 0.5345 GB, free: 8.832 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.4463, allocations: 6.619 MB / 0.541 GB, free: 4.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.524, allocations: 5.094 kB / 0.541 GB, free: 4.793 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches