Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001265/0.001265, allocations: 110 kB / 20.43 MB, free: 1.453 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.001391/0.001391, allocations: 213.6 kB / 23.74 MB, free: 4.66 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.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2479/0.2479, allocations: 46.92 MB / 360.8 MB, free: 4.195 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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 79.88 kB / 0.4962 GB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4007, allocations: 66.09 MB / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.00314/0.4038, allocations: 1.686 MB / 0.5624 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.4049, allocations: 0.5966 MB / 0.563 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.805e-05/0.405, allocations: 0 / 0.563 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002596/0.4052, allocations: 47.73 kB / 0.563 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.4055, allocations: 91.61 kB / 0.5631 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.406, allocations: 178.9 kB / 0.5633 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.4061, allocations: 91.75 kB / 0.5634 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.4062, allocations: 22.05 kB / 0.5634 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.184e-05/0.4063, allocations: 35.78 kB / 0.5634 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.4064, allocations: 55.77 kB / 0.5635 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.4064, allocations: 4 kB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.4066, allocations: 51.91 kB / 0.5635 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.4066, allocations: 27.92 kB / 0.5636 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.4067, allocations: 31.73 kB / 0.5636 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.4069, allocations: 119.5 kB / 0.5637 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4069, allocations: 0 / 0.5637 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4069, allocations: 0 / 0.5637 GB, free: 1.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.4069, allocations: 4 kB / 0.5637 GB, free: 1.266 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005713/0.4075, allocations: 349.6 kB / 0.5641 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.4075, allocations: 8.031 kB / 0.5641 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.739e-05/0.4076, allocations: 42.67 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.4076, allocations: 16.83 kB / 0.5641 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.4078, allocations: 147.7 kB / 0.5643 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.4079, allocations: 4.375 kB / 0.5643 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.4079, allocations: 384 / 0.5643 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.4081, allocations: 66.23 kB / 0.5643 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.4081, allocations: 7.875 kB / 0.5643 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.4081, allocations: 4 kB / 0.5643 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4081, allocations: 4 kB / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.4082, allocations: 43.95 kB / 0.5644 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.4087, allocations: 287.8 kB / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.409, allocations: 66.58 kB / 0.5647 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.603e-05/0.409, allocations: 24.97 kB / 0.5647 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.4091, allocations: 0 / 0.5647 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.4091, allocations: 42.55 kB / 0.5648 GB, free: 40 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.4091, allocations: 0 / 0.5648 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001537/0.4106, allocations: 425 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.4107, allocations: 55.34 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.4109, allocations: 194.1 kB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.4109, allocations: 33.64 kB / 0.5655 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.411, allocations: 100.1 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.411, allocations: 47.58 kB / 0.5656 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.4111, allocations: 21.72 kB / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4112, allocations: 326.8 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.4114, allocations: 59.89 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.4115, allocations: 55.95 kB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.4118, allocations: 125 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4118, allocations: 4 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003437/0.4121, allocations: 161.5 kB / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4121, allocations: 15.92 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.4121, allocations: 0 / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4122, allocations: 0 / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.4123, allocations: 23.98 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4123, allocations: 3.938 kB / 0.5664 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.4123, allocations: 15.98 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4124, allocations: 0 / 0.5664 GB, free: 14.34 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 (11): * Single equations (assignments): 11 * 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.0001217/0.4125, allocations: 129.8 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.4125, allocations: 11.91 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004271/0.4129, allocations: 186.8 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.413, allocations: 11.94 kB / 0.5667 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.413, allocations: 7.922 kB / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.413, allocations: 0 / 0.5667 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007257/0.4137, allocations: 479.1 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4137, allocations: 3.938 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.4138, allocations: 28.05 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4138, allocations: 4 kB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.4138, allocations: 3.984 kB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4138, allocations: 4 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4138, allocations: 0 / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.4142, allocations: 273.1 kB / 0.5675 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.4143, allocations: 15.84 kB / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.4143, allocations: 0 / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4144, allocations: 15.98 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.4144, allocations: 11.92 kB / 0.5675 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.4145, allocations: 4 kB / 0.5675 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.4146, allocations: 139.2 kB / 0.5677 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4146, allocations: 4 kB / 0.5677 GB, free: 12.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000271/0.4148, allocations: 27.94 kB / 0.5677 GB, free: 12.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002345/0.4172, allocations: 1.157 MB / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.4175, allocations: 127.8 kB / 0.5689 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4175, allocations: 0 / 0.5689 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.4177, allocations: 71.83 kB / 0.569 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.4181, allocations: 15.98 kB / 0.569 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.4206, allocations: 1.903 MB / 0.5709 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.4209, allocations: 0.7236 MB / 0.5716 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.164e-05/0.421, allocations: 32.45 kB / 0.5716 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.4211, allocations: 35.42 kB / 0.5716 GB, free: 8.871 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.4211, allocations: 4 kB / 0.5717 GB, free: 8.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.4502, allocations: 3.642 MB / 0.5752 GB, free: 5.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.36, allocations: 0 / 0.5752 GB, free: 5.25 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.526304125000024]