Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",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.001411/0.001411, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.002065/0.002065, allocations: 175.1 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.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2569/0.2569, allocations: 44.19 MB / 336.8 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 63.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3575, allocations: 60.83 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003778/0.3614, allocations: 1.555 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008502/0.3623, allocations: 396.5 kB / 0.5203 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.759e-05/0.3624, allocations: 5.5 kB / 0.5204 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.3627, allocations: 23.98 kB / 0.5204 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.363, allocations: 45.95 kB / 0.5204 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.3634, allocations: 80.67 kB / 0.5205 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.3635, allocations: 57.86 kB / 0.5205 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3637, allocations: 16.45 kB / 0.5206 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.864e-05/0.3637, allocations: 21.33 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.923e-05/0.3638, allocations: 20.94 kB / 0.5206 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.3638, allocations: 2.219 kB / 0.5206 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.364, allocations: 33.64 kB / 0.5206 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.364, allocations: 15.8 kB / 0.5207 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.3641, allocations: 21.91 kB / 0.5207 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.3643, allocations: 78.53 kB / 0.5208 GB, free: 1.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3643, allocations: 1 kB / 0.5208 GB, free: 1.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3643, allocations: 0 / 0.5208 GB, free: 1.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3643, allocations: 0 / 0.5208 GB, free: 1.742 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.0004685/0.3648, allocations: 388.1 kB / 0.5211 GB, free: 1.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3649, allocations: 9.812 kB / 0.5211 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.3649, allocations: 39.44 kB / 0.5212 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.3649, allocations: 12.84 kB / 0.5212 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.3651, allocations: 191 kB / 0.5214 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.3651, allocations: 1.719 kB / 0.5214 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.3652, allocations: 2.312 kB / 0.5214 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.3653, allocations: 61.09 kB / 0.5214 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3654, allocations: 4.844 kB / 0.5214 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.3654, allocations: 0 / 0.5214 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.3654, allocations: 1.031 kB / 0.5214 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.247e-05/0.3655, allocations: 21.84 kB / 0.5215 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.3658, allocations: 278.5 kB / 0.5217 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.366, allocations: 44.19 kB / 0.5218 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.671e-05/0.3661, allocations: 18.05 kB / 0.5218 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.3661, allocations: 1.031 kB / 0.5218 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.3661, allocations: 36.48 kB / 0.5218 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3661, allocations: 0 / 0.5218 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005591/0.3667, allocations: 139.5 kB / 0.5219 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.3667, allocations: 56.62 kB / 0.522 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.3669, allocations: 162.8 kB / 0.5222 GB, free: 416 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.3669, allocations: 25.7 kB / 0.5222 GB, free: 384 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.367, allocations: 103.5 kB / 0.5223 GB, free: 284 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.367, allocations: 11.34 kB / 0.5223 GB, free: 276 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.367, allocations: 18.89 kB / 0.5223 GB, free: 256 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3672, allocations: 324.3 kB / 0.5226 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.3672, allocations: 21.52 kB / 0.5226 GB, free: 15.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.3673, allocations: 15.58 kB / 0.5227 GB, free: 15.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.3675, allocations: 46.69 kB / 0.5227 GB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3675, allocations: 3.938 kB / 0.5227 GB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002087/0.3677, allocations: 77.98 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3677, allocations: 6.938 kB / 0.5228 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3677, allocations: 4.594 kB / 0.5228 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.3678, allocations: 5.062 kB / 0.5228 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/0.3678, allocations: 12.7 kB / 0.5228 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3678, allocations: 0 / 0.5228 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.3679, allocations: 12.97 kB / 0.5228 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3679, allocations: 5.797 kB / 0.5228 GB, free: 15.84 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 0.00011/0.368, allocations: 118.3 kB / 0.5229 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3681, allocations: 8.016 kB / 0.5229 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.3684, allocations: 98.19 kB / 0.523 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3684, allocations: 1.312 kB / 0.523 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3684, allocations: 0 / 0.523 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3684, allocations: 0.5625 kB / 0.523 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.3689, allocations: 356.7 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3689, allocations: 0 / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.369, allocations: 12.64 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.369, allocations: 1.094 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.369, allocations: 4 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.369, allocations: 5.062 kB / 0.5234 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.369, allocations: 0.75 kB / 0.5234 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.3693, allocations: 173.6 kB / 0.5236 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.3693, allocations: 83.11 kB / 0.5236 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.3694, allocations: 2.156 kB / 0.5236 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.3694, allocations: 16.27 kB / 0.5237 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.3695, allocations: 5.031 kB / 0.5237 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.3695, allocations: 1.469 kB / 0.5237 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.3696, allocations: 128.9 kB / 0.5238 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3696, allocations: 3.938 kB / 0.5238 GB, free: 14.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.3699, allocations: 19.3 kB / 0.5238 GB, free: 14.95 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.002061/0.372, allocations: 1.003 MB / 0.5248 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.3722, allocations: 47.66 kB / 0.5248 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3722, allocations: 1.094 kB / 0.5248 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.656e-05/0.3723, allocations: 22.64 kB / 0.5249 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.3727, allocations: 24.25 kB / 0.5249 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.3745, allocations: 1.471 MB / 0.5263 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.3749, allocations: 0.7018 MB / 0.527 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.353e-05/0.375, allocations: 6.516 kB / 0.527 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.3751, allocations: 23.19 kB / 0.527 GB, free: 12.15 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3751, allocations: 4 kB / 0.527 GB, free: 12.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.4008, allocations: 2.565 MB / 0.5295 GB, free: 11.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.952/8.353, allocations: 6.047 kB / 0.5295 GB, free: 11.2 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_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_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches