Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 120.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.001815/0.001815, 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.366/1.366, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 75.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.345, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002703/0.3477, allocations: 1.601 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009176/0.3486, allocations: 0.5456 MB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.3487, allocations: 5.156 kB / 0.5326 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.3489, allocations: 19.48 kB / 0.5327 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.3492, allocations: 81.61 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.3495, allocations: 113.9 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.3496, allocations: 66.28 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.3497, allocations: 11.45 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.23e-05/0.3497, allocations: 19.81 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.614e-05/0.3498, allocations: 27.44 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.3498, allocations: 2.656 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.37e-05/0.3499, allocations: 37.36 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.35, allocations: 15.67 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.35, allocations: 29.39 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.3502, allocations: 93.81 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3502, allocations: 0 / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3502, allocations: 0 / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3502, allocations: 1.438 kB / 0.5331 GB, free: 11.41 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.0004332/0.3506, allocations: 390.3 kB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3507, allocations: 9.062 kB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.3507, allocations: 32.34 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.3507, allocations: 11.84 kB / 0.5336 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.3509, allocations: 198.5 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.351, allocations: 9.469 kB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.351, allocations: 10.44 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.3511, allocations: 44.06 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3511, allocations: 0 / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.3511, allocations: 1.062 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3512, allocations: 1.094 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.186e-05/0.3512, allocations: 26.16 kB / 0.5338 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.3516, allocations: 284.3 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3518, allocations: 50.52 kB / 0.5342 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/0.3519, allocations: 14.2 kB / 0.5342 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3519, allocations: 6.078 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.3519, allocations: 30.56 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3519, allocations: 0 / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005243/0.3525, allocations: 160.2 kB / 0.5344 GB, free: 10.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.3525, allocations: 52.78 kB / 0.5344 GB, free: 10.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.3527, allocations: 181.5 kB / 0.5346 GB, free: 9.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3527, allocations: 27.08 kB / 0.5346 GB, free: 9.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.3528, allocations: 108.1 kB / 0.5347 GB, free: 9.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.3528, allocations: 9.281 kB / 0.5347 GB, free: 9.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.3528, allocations: 23.22 kB / 0.5347 GB, free: 9.801 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3529, allocations: 321.6 kB / 0.535 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.209e-05/0.353, allocations: 18.98 kB / 0.5351 GB, free: 9.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-05/0.3531, allocations: 24.34 kB / 0.5351 GB, free: 9.461 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.3532, allocations: 60.45 kB / 0.5351 GB, free: 9.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3532, allocations: 0 / 0.5351 GB, free: 9.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001863/0.3534, allocations: 91.95 kB / 0.5352 GB, free: 9.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3535, allocations: 4.125 kB / 0.5352 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3535, allocations: 5.359 kB / 0.5352 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.3535, allocations: 0 / 0.5352 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.3535, allocations: 9.625 kB / 0.5353 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3536, allocations: 5.312 kB / 0.5353 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.215e-05/0.3536, allocations: 6.734 kB / 0.5353 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.3536, allocations: 1.375 kB / 0.5353 GB, free: 9.352 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 7.68e-05/0.3537, allocations: 124.7 kB / 0.5354 GB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.3537, allocations: 8.078 kB / 0.5354 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.354, allocations: 97.7 kB / 0.5355 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.354, allocations: 1.375 kB / 0.5355 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.354, allocations: 3.938 kB / 0.5355 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.354, allocations: 1.656 kB / 0.5355 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/0.3545, allocations: 369.3 kB / 0.5358 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3545, allocations: 0 / 0.5358 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.3545, allocations: 9.625 kB / 0.5359 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3545, allocations: 7.922 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.3546, allocations: 1.375 kB / 0.5359 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3546, allocations: 3.984 kB / 0.5359 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3546, allocations: 1.562 kB / 0.5359 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.3548, allocations: 182.6 kB / 0.536 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.3549, allocations: 91.56 kB / 0.5361 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.3549, allocations: 7.938 kB / 0.5361 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.355, allocations: 8.219 kB / 0.5361 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.355, allocations: 5.609 kB / 0.5361 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.355, allocations: 1.344 kB / 0.5361 GB, free: 8.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.3551, allocations: 140.1 kB / 0.5363 GB, free: 8.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3551, allocations: 0 / 0.5363 GB, free: 8.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.3554, allocations: 18.78 kB / 0.5363 GB, free: 8.383 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.001258/0.3566, allocations: 1.007 MB / 0.5373 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.3568, allocations: 62.61 kB / 0.5373 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3569, allocations: 0 / 0.5373 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.13e-05/0.3569, allocations: 24.67 kB / 0.5374 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.3573, allocations: 22.17 kB / 0.5374 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.3589, allocations: 1.521 MB / 0.5389 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.3592, allocations: 0.6983 MB / 0.5396 GB, free: 5.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.096e-05/0.3593, allocations: 20.11 kB / 0.5396 GB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.3594, allocations: 28.39 kB / 0.5396 GB, free: 5.422 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3594, allocations: 0 / 0.5396 GB, free: 5.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.3774, allocations: 2.671 MB / 0.5422 GB, free: 3.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.195, allocations: 13.92 kB / 0.5422 GB, free: 3.91 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches