Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001938/0.001938, allocations: 110.4 kB / 21.1 MB, free: 0.7891 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002148/0.002148, allocations: 205.4 kB / 24.38 MB, free: 4.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.2 MB / 257.7 MB, free: 8.293 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2436/0.2436, allocations: 46.89 MB / 361 MB, free: 4.504 MB / 286.1 MB " [Timeout remaining time 179] 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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 79.84 kB / 0.4962 GB, free: 8.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4049, allocations: 66.02 MB / 0.5607 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003486/0.4084, allocations: 1.608 MB / 0.5622 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.4095, allocations: 0.5459 MB / 0.5628 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.4096, allocations: 4 kB / 0.5628 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.4098, allocations: 31.84 kB / 0.5628 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.4101, allocations: 75.62 kB / 0.5629 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.4104, allocations: 94.81 kB / 0.563 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.4105, allocations: 71.77 kB / 0.563 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.4106, allocations: 9.828 kB / 0.563 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.093e-05/0.4107, allocations: 27.91 kB / 0.5631 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.038e-05/0.4108, allocations: 19.86 kB / 0.5631 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.4108, allocations: 4 kB / 0.5631 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.436e-05/0.4109, allocations: 32 kB / 0.5631 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.4109, allocations: 15.92 kB / 0.5631 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.411, allocations: 27.8 kB / 0.5632 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.4111, allocations: 91.53 kB / 0.5633 GB, free: 2.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4112, allocations: 0 / 0.5633 GB, free: 2.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4112, allocations: 0 / 0.5633 GB, free: 2.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.4112, allocations: 4 kB / 0.5633 GB, free: 2.055 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.0005538/0.4117, allocations: 394.9 kB / 0.5636 GB, free: 1.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4118, allocations: 8.031 kB / 0.5636 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.4118, allocations: 34.75 kB / 0.5637 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.4118, allocations: 12.84 kB / 0.5637 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.4121, allocations: 200.3 kB / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.331e-06/0.4121, allocations: 384 / 0.5639 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.4121, allocations: 4.375 kB / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.4122, allocations: 57.56 kB / 0.5639 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.4123, allocations: 7.984 kB / 0.5639 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.4123, allocations: 0 / 0.5639 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4123, allocations: 3.984 kB / 0.564 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.738e-05/0.4124, allocations: 23.92 kB / 0.564 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.4127, allocations: 272.9 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.413, allocations: 46.5 kB / 0.5643 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.413, allocations: 20.94 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.413, allocations: 0 / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.413, allocations: 30.56 kB / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.413, allocations: 0 / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005391/0.4136, allocations: 145.4 kB / 0.5645 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.4136, allocations: 59.34 kB / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.4138, allocations: 178.5 kB / 0.5647 GB, free: 388 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.4138, allocations: 25.7 kB / 0.5647 GB, free: 356 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.4139, allocations: 96.08 kB / 0.5648 GB, free: 256 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.4139, allocations: 19.89 kB / 0.5648 GB, free: 236 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.414, allocations: 17.72 kB / 0.5648 GB, free: 212 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4141, allocations: 322.8 kB / 0.5652 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.4142, allocations: 23.98 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.898e-05/0.4142, allocations: 15.98 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.4144, allocations: 52.77 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4144, allocations: 0 / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001741/0.4145, allocations: 77.58 kB / 0.5653 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4146, allocations: 8 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4146, allocations: 4.25 kB / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4146, allocations: 0 / 0.5653 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.778e-05/0.4146, allocations: 15.98 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.4147, allocations: 4 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.812e-05/0.4147, allocations: 4 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.4147, allocations: 7.938 kB / 0.5654 GB, free: 15.66 MB / 414.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 9.736e-05/0.4148, allocations: 119.1 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.4148, allocations: 11.95 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.4151, allocations: 94 kB / 0.5656 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4151, allocations: 0 / 0.5656 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4151, allocations: 0 / 0.5656 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4151, allocations: 0 / 0.5656 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.4155, allocations: 354.4 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.4155, allocations: 4 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.4156, allocations: 15.92 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4156, allocations: 4 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.4156, allocations: 4 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4156, allocations: 7.938 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4156, allocations: 0 / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.4158, allocations: 175.5 kB / 0.5661 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.4159, allocations: 85.02 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.4159, allocations: 4 kB / 0.5662 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.416, allocations: 7.938 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.416, allocations: 7.984 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.416, allocations: 192 / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.4161, allocations: 143.9 kB / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4161, allocations: 0 / 0.5664 GB, free: 14.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.4164, allocations: 19.92 kB / 0.5664 GB, free: 14.52 MB / 414.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.001905/0.4183, allocations: 1.004 MB / 0.5674 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.4185, allocations: 43.91 kB / 0.5674 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4185, allocations: 0 / 0.5674 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.249e-05/0.4186, allocations: 27.97 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.4189, allocations: 23.88 kB / 0.5674 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.4208, allocations: 1.505 MB / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.4212, allocations: 0.6963 MB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.072e-05/0.4212, allocations: 15.92 kB / 0.5696 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.4213, allocations: 31.42 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4213, allocations: 0 / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.4456, allocations: 2.684 MB / 0.5723 GB, free: 8.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.352, allocations: 10.12 kB / 0.5723 GB, free: 8.488 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.516160322120413]