Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.001342/0.001342, allocations: 112.7 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.002312/0.002312, allocations: 216.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.548/1.548, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2562/0.2562, allocations: 46.92 MB / 360.8 MB, free: 4.176 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.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 83.88 kB / 0.4962 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3885, allocations: 66.07 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003686/0.3922, allocations: 1.623 MB / 0.5623 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.3944, allocations: 1.263 MB / 0.5636 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.3944, allocations: 4 kB / 0.5636 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.3947, allocations: 27.84 kB / 0.5636 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.395, allocations: 79.62 kB / 0.5637 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.3954, allocations: 118.8 kB / 0.5638 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001899/0.3955, allocations: 75.75 kB / 0.5639 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3957, allocations: 9.828 kB / 0.5639 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.629e-05/0.3957, allocations: 23.92 kB / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.3959, allocations: 35.83 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.3959, allocations: 4 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.3961, allocations: 99.88 kB / 0.564 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.3962, allocations: 15.92 kB / 0.564 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.3962, allocations: 19.88 kB / 0.5641 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.3965, allocations: 147.5 kB / 0.5642 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3965, allocations: 4 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.3965, allocations: 4 kB / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.3965, allocations: 0 / 0.5642 GB, free: 0.7344 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.0005343/0.3971, allocations: 325.6 kB / 0.5645 GB, free: 392 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3971, allocations: 8.031 kB / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.3972, allocations: 38.75 kB / 0.5646 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.3972, allocations: 4.891 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3974, allocations: 142.3 kB / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3974, allocations: 384 / 0.5647 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.3975, allocations: 8.375 kB / 0.5647 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.3976, allocations: 63.95 kB / 0.5648 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.3977, allocations: 3.938 kB / 0.5648 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3977, allocations: 0 / 0.5648 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3977, allocations: 0 / 0.5648 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.731e-05/0.3978, allocations: 27.92 kB / 0.5648 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.3982, allocations: 260 kB / 0.565 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.3984, allocations: 38.56 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.827e-05/0.3985, allocations: 24.88 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3985, allocations: 0 / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3986, allocations: 30.56 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.3986, allocations: 0 / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005908/0.3991, allocations: 157.4 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.3993, allocations: 77.11 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.3994, allocations: 151.8 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3994, allocations: 25.7 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.3995, allocations: 96.08 kB / 0.5656 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.3995, allocations: 15.84 kB / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.3996, allocations: 25.72 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3997, allocations: 322.8 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.39e-05/0.3998, allocations: 19.98 kB / 0.566 GB, free: 14.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.128e-05/0.3999, allocations: 33.7 kB / 0.566 GB, free: 14.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.4, allocations: 53.02 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4, allocations: 4.031 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002177/0.4002, allocations: 93.55 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4002, allocations: 4 kB / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.4003, allocations: 0 / 0.5662 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4003, allocations: 3.938 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.4003, allocations: 15.98 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4003, allocations: 0 / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.4004, allocations: 4 kB / 0.5662 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.4004, allocations: 4 kB / 0.5662 GB, free: 14.48 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.918e-05/0.4005, allocations: 123.1 kB / 0.5663 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.4005, allocations: 7.953 kB / 0.5663 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.4008, allocations: 98 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4008, allocations: 3.984 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4008, allocations: 0 / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4008, allocations: 288 / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.4013, allocations: 333.6 kB / 0.5667 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4013, allocations: 3.984 kB / 0.5667 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.4014, allocations: 11.94 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4014, allocations: 0 / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.4014, allocations: 3.984 kB / 0.5668 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4014, allocations: 4 kB / 0.5668 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4014, allocations: 3.938 kB / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.4017, allocations: 191.6 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.4017, allocations: 11.94 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4017, allocations: 0 / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.4018, allocations: 4 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.4018, allocations: 11.92 kB / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.4018, allocations: 4 kB / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001142/0.4019, allocations: 113.3 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4019, allocations: 4 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.4022, allocations: 39.86 kB / 0.5671 GB, free: 13.44 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.002293/0.4045, allocations: 1.101 MB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.4048, allocations: 51.97 kB / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4048, allocations: 0 / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.068e-05/0.4048, allocations: 31.91 kB / 0.5683 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.4052, allocations: 22.12 kB / 0.5683 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.4072, allocations: 1.452 MB / 0.5697 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.4075, allocations: 0.6924 MB / 0.5704 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.316e-05/0.4076, allocations: 20.02 kB / 0.5704 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.4077, allocations: 27.42 kB / 0.5704 GB, free: 10.08 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4077, allocations: 3.938 kB / 0.5704 GB, free: 10.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.4445, allocations: 3.398 MB / 0.5738 GB, free: 6.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.44, allocations: 5.719 kB / 0.5738 GB, free: 6.684 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.68128305580467]