Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001249/0.001249, allocations: 112.8 kB / 17.77 MB, free: 5.383 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.001034/0.001034, allocations: 184.8 kB / 18.71 MB, free: 4.457 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.461/1.461, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2144/0.2144, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3656, allocations: 60.83 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003337/0.3689, allocations: 1.551 MB / 0.52 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.3698, allocations: 408.3 kB / 0.5203 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.3699, allocations: 1.125 kB / 0.5203 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.3702, allocations: 28.84 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.3704, allocations: 41.73 kB / 0.5204 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.3708, allocations: 103.8 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.371, allocations: 59.58 kB / 0.5206 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3711, allocations: 15.81 kB / 0.5206 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.835e-05/0.3711, allocations: 23.11 kB / 0.5206 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.3712, allocations: 20.12 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.3712, allocations: 2.688 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.113e-05/0.3713, allocations: 29.5 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.631e-05/0.3714, allocations: 15.88 kB / 0.5207 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.3715, allocations: 29.36 kB / 0.5207 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.3717, allocations: 85 kB / 0.5208 GB, free: 1.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3717, allocations: 0 / 0.5208 GB, free: 1.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3717, allocations: 0 / 0.5208 GB, free: 1.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.3717, allocations: 0 / 0.5208 GB, free: 1.73 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.0004864/0.3722, allocations: 381 kB / 0.5211 GB, free: 1.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.3723, allocations: 13.09 kB / 0.5212 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.162e-05/0.3723, allocations: 32.7 kB / 0.5212 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.3723, allocations: 12.25 kB / 0.5212 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.3725, allocations: 187.6 kB / 0.5214 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3725, allocations: 1.5 kB / 0.5214 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3725, allocations: 6.656 kB / 0.5214 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.3727, allocations: 62.42 kB / 0.5214 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3727, allocations: 0 / 0.5214 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3727, allocations: 0 / 0.5214 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.3727, allocations: 1.688 kB / 0.5215 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3728, allocations: 22.92 kB / 0.5215 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.3732, allocations: 286.9 kB / 0.5217 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.3734, allocations: 57.25 kB / 0.5218 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.3735, allocations: 14.61 kB / 0.5218 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.3735, allocations: 2.031 kB / 0.5218 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/0.3736, allocations: 30.56 kB / 0.5218 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.3736, allocations: 1.219 kB / 0.5218 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006371/0.3742, allocations: 154.8 kB / 0.522 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.3743, allocations: 53.47 kB / 0.522 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.3744, allocations: 167.8 kB / 0.5222 GB, free: 404 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.3744, allocations: 26.83 kB / 0.5222 GB, free: 372 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.3745, allocations: 98.38 kB / 0.5223 GB, free: 276 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.3745, allocations: 16.41 kB / 0.5223 GB, free: 264 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.3746, allocations: 17.61 kB / 0.5224 GB, free: 244 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3747, allocations: 324.2 kB / 0.5227 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.3748, allocations: 20.86 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.3749, allocations: 21.45 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.375, allocations: 52.23 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.375, allocations: 0 / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002036/0.3752, allocations: 97.02 kB / 0.5228 GB, free: 15.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3752, allocations: 4.594 kB / 0.5229 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3753, allocations: 2.125 kB / 0.5229 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3753, allocations: 0 / 0.5229 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.3754, allocations: 12.31 kB / 0.5229 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3754, allocations: 4.969 kB / 0.5229 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.953e-05/0.3754, allocations: 4.25 kB / 0.5229 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3754, allocations: 6.531 kB / 0.5229 GB, free: 15.82 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 9.49e-05/0.3755, allocations: 122.2 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.3756, allocations: 9 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.3758, allocations: 106.7 kB / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3758, allocations: 1.125 kB / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3759, allocations: 4.703 kB / 0.5231 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3759, allocations: 0 / 0.5231 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.3763, allocations: 359.9 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3764, allocations: 0 / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-05/0.3764, allocations: 16.92 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3764, allocations: 0 / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.3764, allocations: 1 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.3764, allocations: 5.812 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3765, allocations: 0 / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.3767, allocations: 181.1 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.3767, allocations: 84.44 kB / 0.5237 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.3768, allocations: 0.6094 kB / 0.5237 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.3769, allocations: 13.41 kB / 0.5237 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.3769, allocations: 4.047 kB / 0.5238 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.3769, allocations: 1.562 kB / 0.5238 GB, free: 15.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001166/0.377, allocations: 126.2 kB / 0.5239 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.377, allocations: 0 / 0.5239 GB, free: 14.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.3773, allocations: 19.42 kB / 0.5239 GB, free: 14.94 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.001498/0.3788, allocations: 1.023 MB / 0.5249 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.3791, allocations: 49.58 kB / 0.5249 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3791, allocations: 7.938 kB / 0.5249 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.3792, allocations: 25.08 kB / 0.525 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.3795, allocations: 18.27 kB / 0.525 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.3813, allocations: 1.483 MB / 0.5264 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.3817, allocations: 0.698 MB / 0.5271 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.031e-05/0.3817, allocations: 19.25 kB / 0.5271 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.3818, allocations: 25.56 kB / 0.5272 GB, free: 12.12 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3818, allocations: 0 / 0.5272 GB, free: 12.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.4006, allocations: 2.602 MB / 0.5297 GB, free: 11.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/8.048, allocations: 13.36 kB / 0.5297 GB, free: 11.13 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches