Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.001517/0.001517, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001809/0.001809, allocations: 213.1 kB / 24.54 MB, free: 4.02 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.429/1.429, allocations: 230.3 MB / 258 MB, free: 8.211 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.2229/0.2229, allocations: 46.88 MB / 361.3 MB, free: 4.445 MB / 286.1 MB " [Timeout remaining time 180] 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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003292/0.003292, allocations: 79.88 kB / 0.4966 GB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3736, allocations: 66.04 MB / 0.5611 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.004713/0.3783, allocations: 1.615 MB / 0.5627 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003397/0.3817, allocations: 1.263 MB / 0.5639 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.3818, allocations: 0 / 0.5639 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.3821, allocations: 27.86 kB / 0.5639 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000407/0.3825, allocations: 87.61 kB / 0.564 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.383, allocations: 115 kB / 0.5641 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.3832, allocations: 71.78 kB / 0.5642 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3833, allocations: 11.97 kB / 0.5642 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.393e-05/0.3834, allocations: 27.92 kB / 0.5642 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.3836, allocations: 31.78 kB / 0.5642 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.3836, allocations: 4 kB / 0.5642 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.3838, allocations: 91.95 kB / 0.5643 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.3839, allocations: 23.91 kB / 0.5644 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.3839, allocations: 19.88 kB / 0.5644 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.3843, allocations: 151.4 kB / 0.5645 GB, free: 1.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3843, allocations: 0 / 0.5645 GB, free: 1.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3843, allocations: 0 / 0.5645 GB, free: 1.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3843, allocations: 0 / 0.5645 GB, free: 1.137 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.0007306/0.3851, allocations: 406.8 kB / 0.5649 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.3851, allocations: 12.02 kB / 0.5649 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.3852, allocations: 30.75 kB / 0.5649 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.3852, allocations: 8.891 kB / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.3856, allocations: 210.7 kB / 0.5652 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3856, allocations: 384 / 0.5652 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.3856, allocations: 4.312 kB / 0.5652 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.3858, allocations: 63.97 kB / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.3859, allocations: 11.91 kB / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3859, allocations: 0 / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3859, allocations: 0 / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.386, allocations: 19.98 kB / 0.5653 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.3866, allocations: 284.9 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.3869, allocations: 50.5 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.535e-05/0.387, allocations: 12.94 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.387, allocations: 4 kB / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.387, allocations: 34.56 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.387, allocations: 0 / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007752/0.3878, allocations: 149.4 kB / 0.5658 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/0.3879, allocations: 77.11 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.3881, allocations: 147.7 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.3881, allocations: 33.7 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.3882, allocations: 92.08 kB / 0.5661 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.3882, allocations: 23.84 kB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.3883, allocations: 21.7 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3885, allocations: 322.8 kB / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3886, allocations: 23.97 kB / 0.5665 GB, free: 14.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3887, allocations: 33.64 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.3889, allocations: 56.86 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3889, allocations: 0 / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002735/0.3892, allocations: 89.8 kB / 0.5666 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3892, allocations: 8 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3892, allocations: 0 / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3892, allocations: 0 / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.3893, allocations: 15.92 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3893, allocations: 4 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.658e-05/0.3894, allocations: 4 kB / 0.5667 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3894, allocations: 7.938 kB / 0.5667 GB, free: 14.67 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 0.0001208/0.3895, allocations: 123.1 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.3895, allocations: 7.953 kB / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.3899, allocations: 94.05 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3899, allocations: 4 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3899, allocations: 4 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3899, allocations: 3.984 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006747/0.3906, allocations: 358.4 kB / 0.5672 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3906, allocations: 3.984 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.3906, allocations: 15.94 kB / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3906, allocations: 0 / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.3907, allocations: 0 / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3907, allocations: 0 / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.3907, allocations: 3.938 kB / 0.5673 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.391, allocations: 187.4 kB / 0.5675 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.391, allocations: 85.05 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.3911, allocations: 8.25 kB / 0.5675 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3912, allocations: 8 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.3912, allocations: 7.922 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.3912, allocations: 0 / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.3914, allocations: 117.8 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3914, allocations: 0 / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.3917, allocations: 39.86 kB / 0.5677 GB, free: 13.5 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.002206/0.3939, allocations: 1.092 MB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.3941, allocations: 55.91 kB / 0.5688 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3941, allocations: 3.938 kB / 0.5688 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.3942, allocations: 31.97 kB / 0.5689 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.3946, allocations: 19.5 kB / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.3964, allocations: 1.448 MB / 0.5703 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.3968, allocations: 0.6963 MB / 0.571 GB, free: 10.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.317e-05/0.3969, allocations: 19.98 kB / 0.571 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.397, allocations: 27.42 kB / 0.571 GB, free: 10.15 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.397, allocations: 0 / 0.571 GB, free: 10.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.4248, allocations: 3.299 MB / 0.5742 GB, free: 6.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.921/8.346, allocations: 15.08 kB / 0.5743 GB, free: 6.812 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.CombiTable1Dv.Test19_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.397123422008008]