Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",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.001436/0.001436, allocations: 112.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.001526/0.001526, allocations: 180.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.362/1.362, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2096/0.2096, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3433, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002637/0.3459, allocations: 1.583 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3474, allocations: 1.037 MB / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.3475, allocations: 1 kB / 0.521 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.3477, allocations: 16.56 kB / 0.521 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.3479, allocations: 49.83 kB / 0.5211 GB, free: 1.434 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.3483, allocations: 105 kB / 0.5212 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.3484, allocations: 73.77 kB / 0.5212 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3485, allocations: 22.22 kB / 0.5213 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.443e-05/0.3486, allocations: 29.14 kB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.3487, allocations: 35.03 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.3487, allocations: 4.25 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.3488, allocations: 52 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.3489, allocations: 11.27 kB / 0.5214 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.3489, allocations: 30.98 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.3491, allocations: 102.1 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3492, allocations: 0.6094 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3492, allocations: 0 / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.3492, allocations: 4 kB / 0.5215 GB, free: 1.219 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.0004393/0.3496, allocations: 395.1 kB / 0.5219 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3497, allocations: 9.906 kB / 0.5219 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/0.3497, allocations: 37.47 kB / 0.5219 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.3497, allocations: 9.328 kB / 0.5219 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.3499, allocations: 192 kB / 0.5221 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3499, allocations: 6.719 kB / 0.5221 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.35, allocations: 7.312 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.3501, allocations: 80.73 kB / 0.5222 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3502, allocations: 1.188 kB / 0.5222 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3502, allocations: 3.938 kB / 0.5222 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3502, allocations: 1.344 kB / 0.5222 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.3503, allocations: 40.58 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.3507, allocations: 304.2 kB / 0.5226 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.3508, allocations: 59.72 kB / 0.5226 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.3509, allocations: 21.72 kB / 0.5226 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.3509, allocations: 1.672 kB / 0.5226 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.351, allocations: 35.81 kB / 0.5227 GB, free: 96 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.351, allocations: 0 / 0.5227 GB, free: 96 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006708/0.3516, allocations: 195 kB / 0.5229 GB, free: 8 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/0.3517, allocations: 82.89 kB / 0.5229 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3519, allocations: 141.9 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3519, allocations: 26.92 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.352, allocations: 97.03 kB / 0.5232 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.3521, allocations: 25.56 kB / 0.5232 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.3521, allocations: 25.88 kB / 0.5232 GB, free: 15.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3522, allocations: 320.4 kB / 0.5235 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.471e-05/0.3524, allocations: 33.12 kB / 0.5236 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.3525, allocations: 43.58 kB / 0.5236 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.3526, allocations: 75.06 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3527, allocations: 0 / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002615/0.3529, allocations: 116.6 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.353, allocations: 4.562 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.353, allocations: 1.438 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.353, allocations: 0 / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3531, allocations: 17.55 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.3531, allocations: 9 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.3532, allocations: 5.297 kB / 0.5238 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3532, allocations: 2.281 kB / 0.5238 GB, free: 15.18 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 9.21e-05/0.3533, allocations: 124.3 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.3533, allocations: 13.3 kB / 0.524 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.3537, allocations: 120.5 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3537, allocations: 1.781 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3537, allocations: 3.938 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3537, allocations: 4.688 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.3542, allocations: 403.7 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3542, allocations: 0 / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.697e-05/0.3543, allocations: 20.34 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3543, allocations: 1.094 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.3543, allocations: 1.859 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3544, allocations: 1.469 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3544, allocations: 0.7969 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.3546, allocations: 208.1 kB / 0.5247 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.3547, allocations: 87.05 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3547, allocations: 2.422 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.3548, allocations: 7.875 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.3549, allocations: 6.75 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.3549, allocations: 1.25 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.466e-05/0.355, allocations: 111.2 kB / 0.5249 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.355, allocations: 0 / 0.5249 GB, free: 14.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.3552, allocations: 23.48 kB / 0.5249 GB, free: 14.27 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 (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.001483/0.3567, allocations: 1.093 MB / 0.526 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.357, allocations: 71.66 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.357, allocations: 0 / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3571, allocations: 41.8 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.3575, allocations: 18.28 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.3592, allocations: 1.508 MB / 0.5276 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.3595, allocations: 0.6978 MB / 0.5283 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.018e-05/0.3596, allocations: 20.91 kB / 0.5283 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.3596, allocations: 35.66 kB / 0.5283 GB, free: 11.39 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3596, allocations: 0 / 0.5283 GB, free: 11.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.3801, allocations: 2.984 MB / 0.5312 GB, free: 10.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/8.001, allocations: 12.53 kB / 0.5313 GB, free: 10.02 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches