Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001659/0.001659, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001942/0.001942, 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.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 71.89 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3623, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003081/0.3655, allocations: 1.614 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.3672, allocations: 1.158 MB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.701e-05/0.3673, allocations: 1.156 kB / 0.5332 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.3675, allocations: 24.66 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.3679, allocations: 89.45 kB / 0.5333 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.3682, allocations: 114.1 kB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.3684, allocations: 62.56 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.3685, allocations: 15.92 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.576e-05/0.3685, allocations: 30.05 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.3687, allocations: 34.44 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3687, allocations: 4.656 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.3689, allocations: 102.4 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.3689, allocations: 12.72 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.369, allocations: 28.34 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.3692, allocations: 133.6 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3692, allocations: 1.375 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3692, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3692, allocations: 0 / 0.5339 GB, free: 10.86 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005298/0.3698, allocations: 411.5 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3698, allocations: 9.625 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.3699, allocations: 32.12 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.3699, allocations: 9.016 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.3701, allocations: 200.4 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3702, allocations: 1.75 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.3702, allocations: 1.75 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.3704, allocations: 69.08 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3704, allocations: 4 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3704, allocations: 5.312 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3704, allocations: 0 / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.853e-05/0.3705, allocations: 25.67 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003863/0.3709, allocations: 280.3 kB / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.3712, allocations: 48.42 kB / 0.5349 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.3712, allocations: 21.05 kB / 0.5349 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.3713, allocations: 0 / 0.5349 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.3713, allocations: 39.92 kB / 0.535 GB, free: 9.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3713, allocations: 3.938 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006027/0.3719, allocations: 147.5 kB / 0.5351 GB, free: 9.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.372, allocations: 81.11 kB / 0.5352 GB, free: 9.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.3721, allocations: 152.9 kB / 0.5353 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3722, allocations: 25.7 kB / 0.5354 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.3722, allocations: 96.2 kB / 0.5354 GB, free: 9.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.3722, allocations: 17.22 kB / 0.5355 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.3723, allocations: 19.22 kB / 0.5355 GB, free: 9.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3724, allocations: 324.1 kB / 0.5358 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-05/0.3725, allocations: 24.36 kB / 0.5358 GB, free: 8.859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.3726, allocations: 31.64 kB / 0.5358 GB, free: 8.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.3727, allocations: 56.33 kB / 0.5359 GB, free: 8.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3727, allocations: 0 / 0.5359 GB, free: 8.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000201/0.373, allocations: 90.55 kB / 0.536 GB, free: 8.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.373, allocations: 5.5 kB / 0.536 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.373, allocations: 5.406 kB / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.373, allocations: 0 / 0.536 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.3731, allocations: 13.39 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3731, allocations: 1.312 kB / 0.536 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.224e-05/0.3732, allocations: 6.625 kB / 0.536 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3732, allocations: 5.578 kB / 0.536 GB, free: 8.727 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 8.871e-05/0.3733, allocations: 114.8 kB / 0.5361 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.3733, allocations: 8.078 kB / 0.5361 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002597/0.3736, allocations: 103.9 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3736, allocations: 0 / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3736, allocations: 1.469 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.3736, allocations: 3.938 kB / 0.5362 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.3741, allocations: 359.1 kB / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3741, allocations: 0 / 0.5366 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.3741, allocations: 22.47 kB / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3742, allocations: 0 / 0.5366 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3742, allocations: 9.109 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3742, allocations: 192 / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3742, allocations: 5.062 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.3744, allocations: 178.5 kB / 0.5368 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.3745, allocations: 87.44 kB / 0.5369 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.3745, allocations: 7.938 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.3746, allocations: 3.25 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.3746, allocations: 6.234 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3746, allocations: 2.188 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.872e-05/0.3747, allocations: 115.8 kB / 0.537 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3747, allocations: 1.156 kB / 0.537 GB, free: 7.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.375, allocations: 39.41 kB / 0.537 GB, free: 7.762 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.001503/0.3765, allocations: 1.101 MB / 0.5381 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.3768, allocations: 55.22 kB / 0.5382 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3768, allocations: 0 / 0.5382 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.68e-05/0.3769, allocations: 34.03 kB / 0.5382 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.3773, allocations: 24.09 kB / 0.5382 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.3789, allocations: 1.444 MB / 0.5396 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.3792, allocations: 0.6945 MB / 0.5403 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.068e-05/0.3793, allocations: 35.11 kB / 0.5403 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.3793, allocations: 33.45 kB / 0.5404 GB, free: 4.777 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3793, allocations: 0 / 0.5404 GB, free: 4.777 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.399, allocations: 3.23 MB / 0.5435 GB, free: 2.922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/8.283, allocations: 8.656 kB / 0.5435 GB, free: 2.918 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches