Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 122.2 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.001362/0.001362, allocations: 202 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.452/1.452, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.12 MB / 344.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 75.88 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3666, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003712/0.3704, allocations: 1.617 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3715, allocations: 0.5412 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.3716, allocations: 1.375 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.3719, allocations: 76.83 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.3722, allocations: 106.6 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.3725, allocations: 94.7 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.3727, allocations: 83.69 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3728, allocations: 17.05 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.3729, allocations: 30.72 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.373, allocations: 56.53 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.3731, allocations: 7.438 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.3732, allocations: 45.14 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.3732, allocations: 23.58 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.3733, allocations: 33.22 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.3735, allocations: 112.6 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3735, allocations: 1.188 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3735, allocations: 0 / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3735, allocations: 0 / 0.5334 GB, free: 11.27 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.0005791/0.3741, allocations: 420.1 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3742, allocations: 13.72 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.98e-05/0.3742, allocations: 34.75 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.3743, allocations: 13.84 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.3745, allocations: 209.2 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.3745, allocations: 2.344 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3746, allocations: 2.188 kB / 0.534 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3747, allocations: 59.11 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3748, allocations: 0 / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.3748, allocations: 0 / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.3748, allocations: 1.938 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.398e-05/0.3749, allocations: 30.2 kB / 0.5341 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.3753, allocations: 299.8 kB / 0.5344 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.3754, allocations: 38.06 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.3755, allocations: 24.92 kB / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.3755, allocations: 0 / 0.5345 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.3756, allocations: 35.66 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3756, allocations: 1.188 kB / 0.5345 GB, free: 10.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009075/0.3765, allocations: 225.4 kB / 0.5347 GB, free: 9.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.3765, allocations: 60.77 kB / 0.5348 GB, free: 9.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.3768, allocations: 211.2 kB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3768, allocations: 29.7 kB / 0.535 GB, free: 9.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.3769, allocations: 105.6 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.3769, allocations: 27.88 kB / 0.5351 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.377, allocations: 23.2 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3771, allocations: 323 kB / 0.5355 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.3772, allocations: 33.73 kB / 0.5355 GB, free: 9.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.25e-05/0.3773, allocations: 25.8 kB / 0.5355 GB, free: 9.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3775, allocations: 64.67 kB / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3775, allocations: 0 / 0.5356 GB, free: 9.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002195/0.3777, allocations: 104.2 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3777, allocations: 5.5 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3777, allocations: 0 / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3777, allocations: 4 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.3779, allocations: 17.73 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3779, allocations: 5.312 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.3779, allocations: 2.75 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3779, allocations: 6.688 kB / 0.5357 GB, free: 9.086 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.0001164/0.3781, allocations: 127.5 kB / 0.5359 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.3781, allocations: 13.41 kB / 0.5359 GB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.3784, allocations: 125 kB / 0.536 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3784, allocations: 0.9688 kB / 0.536 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3784, allocations: 7.875 kB / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3784, allocations: 0 / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005594/0.379, allocations: 403.7 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.379, allocations: 0 / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.201e-05/0.3791, allocations: 26.58 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3791, allocations: 0.9062 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3791, allocations: 1.062 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3791, allocations: 1.125 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3791, allocations: 1.062 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.3794, allocations: 208.5 kB / 0.5366 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.3795, allocations: 99.53 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.3795, allocations: 1.156 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.3796, allocations: 3.25 kB / 0.5367 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.3797, allocations: 7.266 kB / 0.5367 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3797, allocations: 6.312 kB / 0.5367 GB, free: 8.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.3798, allocations: 164.4 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3798, allocations: 0 / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.3801, allocations: 21.31 kB / 0.5369 GB, free: 8.039 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.002137/0.3822, allocations: 1.094 MB / 0.538 GB, free: 7.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.3825, allocations: 65.48 kB / 0.538 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3825, allocations: 1.375 kB / 0.538 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3826, allocations: 33.45 kB / 0.5381 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.383, allocations: 22.42 kB / 0.5381 GB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.385, allocations: 1.678 MB / 0.5397 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.3854, allocations: 0.7102 MB / 0.5404 GB, free: 4.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.587e-05/0.3855, allocations: 17 kB / 0.5404 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.3856, allocations: 32.95 kB / 0.5405 GB, free: 4.934 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3856, allocations: 0 / 0.5405 GB, free: 4.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.4097, allocations: 3.085 MB / 0.5435 GB, free: 3.246 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.345, allocations: 9.188 kB / 0.5435 GB, free: 3.242 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches