Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test29",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.001281/0.001281, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001302/0.001302, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.509/1.509, 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.2161/0.2161, allocations: 44.18 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.001911, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3695, allocations: 60.83 MB / 0.5185 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.002775/0.3723, allocations: 1.621 MB / 0.52 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.3732, allocations: 407.7 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.3733, allocations: 1.312 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.3736, allocations: 36.23 kB / 0.5205 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.3738, allocations: 44.05 kB / 0.5205 GB, free: 1.867 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.3741, allocations: 86.44 kB / 0.5206 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.3743, allocations: 79.73 kB / 0.5207 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.3745, allocations: 33.92 kB / 0.5207 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.457e-05/0.3746, allocations: 25.28 kB / 0.5207 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.529e-05/0.3747, allocations: 36.36 kB / 0.5208 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3747, allocations: 5.25 kB / 0.5208 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3748, allocations: 41.27 kB / 0.5208 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.3749, allocations: 16.12 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.3749, allocations: 35.73 kB / 0.5209 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.3751, allocations: 104.8 kB / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3751, allocations: 0 / 0.521 GB, free: 1.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3751, allocations: 3.938 kB / 0.521 GB, free: 1.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3751, allocations: 0 / 0.521 GB, free: 1.652 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004023/0.3755, allocations: 403.9 kB / 0.5213 GB, free: 1.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3756, allocations: 8.969 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.3756, allocations: 38.52 kB / 0.5214 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.3757, allocations: 13.19 kB / 0.5214 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.3758, allocations: 193.1 kB / 0.5216 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3758, allocations: 6.562 kB / 0.5216 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.3759, allocations: 8.688 kB / 0.5216 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.376, allocations: 74.95 kB / 0.5217 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3761, allocations: 7.953 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.3761, allocations: 0.9688 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.3761, allocations: 2.094 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.3762, allocations: 39.03 kB / 0.5217 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.3766, allocations: 320.3 kB / 0.522 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3767, allocations: 60.48 kB / 0.5221 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.3768, allocations: 26.72 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.3768, allocations: 1.969 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.3769, allocations: 31.38 kB / 0.5221 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.3769, allocations: 1.125 kB / 0.5221 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001081/0.378, allocations: 296.1 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.378, allocations: 52.72 kB / 0.5225 GB, free: 348 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.3782, allocations: 159.2 kB / 0.5226 GB, free: 228 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.3782, allocations: 26.97 kB / 0.5227 GB, free: 196 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.3782, allocations: 103.1 kB / 0.5227 GB, free: 96 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.3783, allocations: 49.31 kB / 0.5228 GB, free: 56 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.3783, allocations: 28.36 kB / 0.5228 GB, free: 32 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3785, allocations: 324.3 kB / 0.5231 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.3786, allocations: 33.02 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.784e-05/0.3787, allocations: 38.83 kB / 0.5232 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.3789, allocations: 90.36 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3789, allocations: 0 / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003081/0.3793, allocations: 141.5 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3793, allocations: 5.156 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3793, allocations: 3.938 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3793, allocations: 1.312 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3795, allocations: 25.34 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3795, allocations: 1.062 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.3795, allocations: 4.766 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3796, allocations: 8.078 kB / 0.5235 GB, free: 15.57 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 (13): * Single equations (assignments): 13 * 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.0001225/0.3797, allocations: 129.9 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.3797, allocations: 13.08 kB / 0.5236 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.3801, allocations: 172.2 kB / 0.5238 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3802, allocations: 1.219 kB / 0.5238 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3802, allocations: 0 / 0.5238 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3802, allocations: 2.531 kB / 0.5238 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.3809, allocations: 468.2 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3809, allocations: 4.594 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.024e-05/0.381, allocations: 29.77 kB / 0.5243 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.381, allocations: 0 / 0.5243 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.381, allocations: 4.156 kB / 0.5243 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.381, allocations: 0 / 0.5243 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.381, allocations: 1.953 kB / 0.5243 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.3814, allocations: 241.9 kB / 0.5245 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.3815, allocations: 84.02 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.3815, allocations: 3.109 kB / 0.5246 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.3816, allocations: 8.766 kB / 0.5246 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.3816, allocations: 8.344 kB / 0.5246 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.3816, allocations: 3.969 kB / 0.5246 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.3818, allocations: 126.6 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3818, allocations: 0 / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.382, allocations: 22.08 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.002228/0.3843, allocations: 1.13 MB / 0.5258 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002759/0.3846, allocations: 90.23 kB / 0.5259 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3846, allocations: 4 kB / 0.5259 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.3847, allocations: 53.94 kB / 0.526 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.3851, allocations: 16.88 kB / 0.526 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.3873, allocations: 1.65 MB / 0.5276 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/0.3877, allocations: 0.706 MB / 0.5283 GB, free: 11.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.659e-05/0.3878, allocations: 16.52 kB / 0.5283 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.3879, allocations: 35.95 kB / 0.5283 GB, free: 11.61 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3879, allocations: 0 / 0.5283 GB, free: 11.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.4142, allocations: 3.111 MB / 0.5314 GB, free: 10.26 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.357, allocations: 6.141 kB / 0.5314 GB, free: 10.25 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_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_CombiTable1Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches