Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001396/0.001396, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001444, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2282/0.2282, allocations: 46.12 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 79.86 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3708, allocations: 62.45 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003198/0.374, allocations: 1.614 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3751, allocations: 0.551 MB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.3752, allocations: 1.25 kB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.3754, allocations: 80.8 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.3758, allocations: 97.81 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.3761, allocations: 111.9 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.3762, allocations: 82.12 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.878e-05/0.3764, allocations: 17.62 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.914e-05/0.3764, allocations: 39.02 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.963e-05/0.3765, allocations: 47.2 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3766, allocations: 4.125 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.574e-05/0.3767, allocations: 44.86 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.3767, allocations: 18.8 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.3768, allocations: 30.62 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.377, allocations: 112.3 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.377, allocations: 0 / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.377, allocations: 7.938 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.377, allocations: 0 / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005059/0.3775, allocations: 414.9 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3775, allocations: 9.531 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.3776, allocations: 35.89 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.3776, allocations: 13.59 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.3778, allocations: 199.1 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-06/0.3779, allocations: 1.781 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.3779, allocations: 8 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.378, allocations: 57.88 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3781, allocations: 1.062 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.3781, allocations: 0 / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3781, allocations: 1.375 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.783e-05/0.3782, allocations: 31.41 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.3786, allocations: 303.7 kB / 0.5344 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.3787, allocations: 52.38 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.3788, allocations: 16.62 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.3788, allocations: 5.312 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.3789, allocations: 30.56 kB / 0.5345 GB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.965e-06/0.3789, allocations: 4.953 kB / 0.5345 GB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000916/0.3798, allocations: 233.3 kB / 0.5348 GB, free: 9.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.3798, allocations: 56.53 kB / 0.5348 GB, free: 9.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.3801, allocations: 204.6 kB / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3801, allocations: 25.7 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.958e-05/0.3802, allocations: 113.1 kB / 0.5351 GB, free: 9.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.3802, allocations: 31.36 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.3803, allocations: 23.88 kB / 0.5352 GB, free: 9.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3804, allocations: 326.9 kB / 0.5355 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.3805, allocations: 28.73 kB / 0.5355 GB, free: 9.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.72e-05/0.3806, allocations: 31.44 kB / 0.5356 GB, free: 9.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.3808, allocations: 82.69 kB / 0.5356 GB, free: 9.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3808, allocations: 0 / 0.5356 GB, free: 9.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002227/0.381, allocations: 112.7 kB / 0.5357 GB, free: 9.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3811, allocations: 5.5 kB / 0.5357 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3811, allocations: 0 / 0.5357 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3811, allocations: 1.375 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3812, allocations: 21.67 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3812, allocations: 3.938 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.3813, allocations: 4.125 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.3813, allocations: 1.375 kB / 0.5358 GB, free: 9.047 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 0.0001118/0.3814, allocations: 132.8 kB / 0.5359 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.3814, allocations: 12.03 kB / 0.5359 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.3817, allocations: 129.8 kB / 0.536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3817, allocations: 1.375 kB / 0.536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.3818, allocations: 5.312 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3818, allocations: 3.938 kB / 0.5361 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.3823, allocations: 425.9 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3823, allocations: 1.219 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.373e-05/0.3824, allocations: 20.77 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3824, allocations: 1.438 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3824, allocations: 2 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3825, allocations: 1.094 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3825, allocations: 0 / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.3828, allocations: 225.2 kB / 0.5367 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.3828, allocations: 87.19 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.3828, allocations: 2.125 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.3829, allocations: 7.281 kB / 0.5368 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.383, allocations: 6.984 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.383, allocations: 2.25 kB / 0.5368 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.3831, allocations: 163.3 kB / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3831, allocations: 0 / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.3834, allocations: 17.97 kB / 0.537 GB, free: 7.984 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 (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.002205/0.3856, allocations: 1.106 MB / 0.5381 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.3859, allocations: 71.11 kB / 0.5381 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3859, allocations: 4 kB / 0.5381 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.86e-05/0.386, allocations: 44.66 kB / 0.5382 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.3863, allocations: 15.28 kB / 0.5382 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.3883, allocations: 1.679 MB / 0.5398 GB, free: 5.617 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.3887, allocations: 0.7145 MB / 0.5405 GB, free: 4.898 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.243e-05/0.3888, allocations: 21.3 kB / 0.5405 GB, free: 4.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.3889, allocations: 33.64 kB / 0.5406 GB, free: 4.863 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3889, allocations: 0 / 0.5406 GB, free: 4.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.4132, allocations: 3.088 MB / 0.5436 GB, free: 3.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.38, allocations: 9.391 kB / 0.5436 GB, free: 3.168 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches