Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 122.2 kB / 17.78 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 197.2 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001508, allocations: 75.88 kB / 480.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3509, allocations: 62.45 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003059/0.354, allocations: 1.608 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.3558, allocations: 1.162 MB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.3559, allocations: 0 / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.3561, allocations: 25.66 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.3564, allocations: 88.8 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.3567, allocations: 88.3 kB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3569, allocations: 78.48 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.357, allocations: 17.92 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.958e-05/0.3571, allocations: 30.5 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.3574, allocations: 34.56 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.3574, allocations: 4.469 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.3576, allocations: 100.9 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.986e-05/0.3576, allocations: 20.03 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.3578, allocations: 33.31 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.3581, allocations: 152.7 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3581, allocations: 1.375 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3581, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.3581, allocations: 0 / 0.5339 GB, free: 10.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005205/0.3586, allocations: 418.1 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3587, allocations: 9.625 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.3587, allocations: 36.11 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.3588, allocations: 9.016 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.359, allocations: 199.2 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.359, allocations: 1.75 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.359, allocations: 3.125 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.3592, allocations: 87.73 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3592, allocations: 1.375 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3592, allocations: 4 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3592, allocations: 1.375 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.3593, allocations: 33.84 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.3597, allocations: 294.9 kB / 0.5349 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.3599, allocations: 55.12 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.36, allocations: 22.47 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.36, allocations: 5.5 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.36, allocations: 30.56 kB / 0.535 GB, free: 9.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.36, allocations: 1.375 kB / 0.535 GB, free: 9.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006636/0.3607, allocations: 181.5 kB / 0.5352 GB, free: 9.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.3608, allocations: 82.48 kB / 0.5353 GB, free: 9.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.3609, allocations: 167.7 kB / 0.5355 GB, free: 9.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.361, allocations: 25.7 kB / 0.5355 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.361, allocations: 96.58 kB / 0.5356 GB, free: 9.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.3611, allocations: 26.2 kB / 0.5356 GB, free: 9.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.3611, allocations: 24.06 kB / 0.5356 GB, free: 9.109 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3612, allocations: 317.2 kB / 0.5359 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.175e-05/0.3613, allocations: 25.52 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.894e-05/0.3614, allocations: 46.75 kB / 0.536 GB, free: 8.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.3616, allocations: 60.41 kB / 0.536 GB, free: 8.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.3616, allocations: 3.984 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002202/0.3618, allocations: 95.34 kB / 0.5361 GB, free: 8.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3619, allocations: 5.594 kB / 0.5361 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3619, allocations: 7.969 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3619, allocations: 1.156 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.362, allocations: 21.33 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.362, allocations: 5.062 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.3621, allocations: 7.297 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3621, allocations: 2.312 kB / 0.5362 GB, free: 8.629 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.0001075/0.3622, allocations: 118.5 kB / 0.5363 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.3623, allocations: 8.641 kB / 0.5363 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.3625, allocations: 122.1 kB / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3626, allocations: 1.094 kB / 0.5364 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3626, allocations: 5.094 kB / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3626, allocations: 0 / 0.5364 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.3631, allocations: 391.3 kB / 0.5368 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3631, allocations: 5.078 kB / 0.5368 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.045e-05/0.3632, allocations: 17.75 kB / 0.5368 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.3632, allocations: 7.938 kB / 0.5368 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3632, allocations: 5.078 kB / 0.5368 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3632, allocations: 1.125 kB / 0.5368 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3632, allocations: 3.938 kB / 0.5368 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.3635, allocations: 191.5 kB / 0.537 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.3635, allocations: 91.47 kB / 0.5371 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.3636, allocations: 1.375 kB / 0.5371 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.3636, allocations: 6.625 kB / 0.5371 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.3637, allocations: 7.484 kB / 0.5371 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.3637, allocations: 5.281 kB / 0.5371 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.3638, allocations: 117.5 kB / 0.5372 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3638, allocations: 0 / 0.5372 GB, free: 7.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.3641, allocations: 41.42 kB / 0.5373 GB, free: 7.625 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 (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.001485/0.3656, allocations: 1.127 MB / 0.5384 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.3659, allocations: 62.98 kB / 0.5384 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3659, allocations: 3.938 kB / 0.5385 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.037e-05/0.366, allocations: 38.7 kB / 0.5385 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.3663, allocations: 18.38 kB / 0.5385 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.3681, allocations: 1.518 MB / 0.54 GB, free: 5.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3684, allocations: 0.6926 MB / 0.5407 GB, free: 4.629 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.537e-05/0.3684, allocations: 21.61 kB / 0.5407 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.3685, allocations: 35.92 kB / 0.5407 GB, free: 4.59 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3685, allocations: 0 / 0.5407 GB, free: 4.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.3902, allocations: 3.391 MB / 0.544 GB, free: 2.664 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.839/8.229, allocations: 3.844 kB / 0.544 GB, free: 2.664 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_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_CombiTable1Ds_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches