Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32",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.001197/0.001197, allocations: 102.2 kB / 16.27 MB, free: 6.102 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.00124/0.00124, allocations: 185.9 kB / 17.19 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2024/0.2024, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 72.94 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08676/0.08828, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.002296/0.09061, allocations: 1.547 MB / 442.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004647/0.09109, allocations: 327.5 kB / 442.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.09115, allocations: 4 kB / 442.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.09139, allocations: 103.7 kB / 442.6 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.09158, allocations: 79.77 kB / 442.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.09181, allocations: 95.75 kB / 442.8 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.09192, allocations: 67.88 kB / 442.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.09201, allocations: 11.98 kB / 442.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.31e-05/0.09206, allocations: 43.84 kB / 442.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.878e-05/0.09214, allocations: 63.81 kB / 443 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.09217, allocations: 0 / 443 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.952e-05/0.09223, allocations: 31.98 kB / 443 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.09228, allocations: 23.91 kB / 443 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.09231, allocations: 27.75 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.09244, allocations: 95.66 kB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.09244, allocations: 0 / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.09245, allocations: 0 / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.09246, allocations: 4 kB / 443.1 MB, free: 4.297 MB / 318.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.00031/0.09277, allocations: 418.8 kB / 443.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.09281, allocations: 15.88 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.104e-05/0.09284, allocations: 30.75 kB / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.09287, allocations: 12.84 kB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.09299, allocations: 204 kB / 443.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.093, allocations: 384 / 443.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.09302, allocations: 384 / 443.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.09313, allocations: 53.62 kB / 443.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.09315, allocations: 0 / 443.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.09316, allocations: 4 kB / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.09317, allocations: 0 / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.829e-05/0.09325, allocations: 27.92 kB / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.09351, allocations: 288.9 kB / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.09368, allocations: 46.55 kB / 444.2 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.387e-05/0.09374, allocations: 20.8 kB / 444.2 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.09376, allocations: 4 kB / 444.2 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.939e-06/0.09377, allocations: 38.58 kB / 444.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.09378, allocations: 0 / 444.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000483/0.09427, allocations: 157.3 kB / 444.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.0943, allocations: 63.34 kB / 444.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.09445, allocations: 246.6 kB / 444.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.163e-06/0.09446, allocations: 29.7 kB / 444.8 MB, free: 2.465 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.0945, allocations: 100.1 kB / 444.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.09452, allocations: 19.78 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.09455, allocations: 17.72 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.894e-05/0.0946, allocations: 326.8 kB / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.09466, allocations: 19.98 kB / 445.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.519e-05/0.09473, allocations: 28.05 kB / 445.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.09485, allocations: 52.81 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.09486, allocations: 0 / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001555/0.09502, allocations: 93.42 kB / 445.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.09503, allocations: 4 kB / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.09504, allocations: 4.047 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.09506, allocations: 7.984 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.09512, allocations: 11.98 kB / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.09513, allocations: 0 / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.09518, allocations: 4 kB / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.09519, allocations: 7.922 kB / 445.4 MB, free: 1.754 MB / 318.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 5.354e-05/0.09525, allocations: 133.8 kB / 445.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.09529, allocations: 11.89 kB / 445.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.09552, allocations: 106.6 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.09554, allocations: 4 kB / 445.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.09555, allocations: 0 / 445.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.09556, allocations: 0 / 445.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.09588, allocations: 366.7 kB / 446 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.09589, allocations: 64 / 446 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.09594, allocations: 12 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.09595, allocations: 7.984 kB / 446.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.09596, allocations: 4 kB / 446.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.09597, allocations: 7.875 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.09598, allocations: 3.938 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.09615, allocations: 183.3 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.09618, allocations: 89 kB / 446.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.0962, allocations: 0 / 446.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.09627, allocations: 11.94 kB / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.0963, allocations: 3.984 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.09631, allocations: 4 kB / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.248e-05/0.09641, allocations: 179.2 kB / 446.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09642, allocations: 0 / 446.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.09665, allocations: 19.98 kB / 446.6 MB, free: 0.5273 MB / 318.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.00112/0.09778, allocations: 1.02 MB / 447.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.09799, allocations: 51.95 kB / 447.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.09801, allocations: 0 / 447.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.645e-05/0.09809, allocations: 27.92 kB / 447.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.09842, allocations: 29.95 kB / 447.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1001, allocations: 1.641 MB / 449.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1004, allocations: 0.7118 MB / 450 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.181e-05/0.1004, allocations: 11.98 kB / 450.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.1005, allocations: 35.42 kB / 450.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1005, allocations: 0 / 450.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.1191, allocations: 2.847 MB / 452.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/7.714, allocations: 19.98 kB / 453 MB, free: 10.07 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches