Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001752/0.001752, 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.002116/0.002116, allocations: 213.1 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.595/1.595, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.2407/0.2407, allocations: 46.92 MB / 360.8 MB, free: 4.156 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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 75.88 kB / 0.4962 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3834, allocations: 66.08 MB / 0.5608 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003333/0.3868, allocations: 1.652 MB / 0.5624 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3879, allocations: 0.581 MB / 0.5629 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.3879, allocations: 0 / 0.5629 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.3886, allocations: 451.1 kB / 0.5634 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004938/0.3891, allocations: 303.3 kB / 0.5637 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.3894, allocations: 126.8 kB / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.3897, allocations: 167.6 kB / 0.5639 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3898, allocations: 13.83 kB / 0.5639 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.3899, allocations: 119.7 kB / 0.5641 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.3902, allocations: 243.5 kB / 0.5643 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3902, allocations: 4 kB / 0.5643 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.343e-05/0.3903, allocations: 43.91 kB / 0.5643 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.3904, allocations: 75.7 kB / 0.5644 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.656e-05/0.3905, allocations: 107 kB / 0.5645 GB, free: 412 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003483/0.3909, allocations: 266.6 kB / 0.5648 GB, free: 144 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3909, allocations: 4 kB / 0.5648 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3909, allocations: 0 / 0.5648 GB, free: 140 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3909, allocations: 0 / 0.5648 GB, free: 140 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008436/0.3917, allocations: 0.5815 MB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.3918, allocations: 8.031 kB / 0.5653 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.508e-05/0.3919, allocations: 42.67 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.128e-05/0.3919, allocations: 48.61 kB / 0.5654 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.3923, allocations: 246.8 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.3923, allocations: 384 / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/0.3923, allocations: 16.31 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3925, allocations: 46.25 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.3925, allocations: 3.938 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3925, allocations: 4 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3926, allocations: 3.984 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.762e-05/0.3927, allocations: 27.92 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.3933, allocations: 363.7 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.3935, allocations: 46.56 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.751e-05/0.3936, allocations: 16.94 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3936, allocations: 0 / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.3936, allocations: 34.5 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3936, allocations: 0 / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006878/0.3943, allocations: 240.7 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.3943, allocations: 51.41 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009054/0.3953, allocations: 0.8699 MB / 0.5673 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3953, allocations: 25.7 kB / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.3955, allocations: 228.1 kB / 0.5676 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.3955, allocations: 15.83 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.3955, allocations: 17.72 kB / 0.5676 GB, free: 13.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.3957, allocations: 378.7 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.3958, allocations: 11.98 kB / 0.568 GB, free: 12.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.065e-05/0.3958, allocations: 19.98 kB / 0.568 GB, free: 12.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.396, allocations: 44.84 kB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.396, allocations: 0 / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002254/0.3962, allocations: 129.3 kB / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3962, allocations: 6.344 kB / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3962, allocations: 0 / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3962, allocations: 0 / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.3963, allocations: 16.23 kB / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3963, allocations: 0 / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.978e-05/0.3964, allocations: 8 kB / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3964, allocations: 4 kB / 0.5682 GB, free: 12.42 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.000204/0.3966, allocations: 215 kB / 0.5684 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.3967, allocations: 47.72 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.3969, allocations: 133.2 kB / 0.5686 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3969, allocations: 4 kB / 0.5686 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3969, allocations: 3.984 kB / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.397, allocations: 0 / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.3975, allocations: 425.5 kB / 0.569 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3975, allocations: 4 kB / 0.569 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.758e-05/0.3976, allocations: 19.98 kB / 0.569 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3976, allocations: 0 / 0.569 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.3976, allocations: 3.938 kB / 0.569 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.3976, allocations: 7.875 kB / 0.569 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3976, allocations: 0 / 0.569 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.3979, allocations: 219.5 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.3979, allocations: 35.72 kB / 0.5693 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.3979, allocations: 0 / 0.5693 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.398, allocations: 15.92 kB / 0.5693 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.3981, allocations: 7.984 kB / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3981, allocations: 0 / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007685/0.3988, allocations: 0.6589 MB / 0.5699 GB, free: 10.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3988, allocations: 0 / 0.5699 GB, free: 10.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.3991, allocations: 23.94 kB / 0.57 GB, free: 10.54 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.002008/0.4011, allocations: 1.055 MB / 0.571 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.4013, allocations: 43.97 kB / 0.571 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4013, allocations: 4 kB / 0.571 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.166e-05/0.4014, allocations: 23.92 kB / 0.5711 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.4018, allocations: 30.23 kB / 0.5711 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003886/0.4057, allocations: 3.24 MB / 0.5743 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.4062, allocations: 0.8221 MB / 0.5751 GB, free: 5.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.322e-05/0.4062, allocations: 23.97 kB / 0.5751 GB, free: 5.285 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.4064, allocations: 99.41 kB / 0.5752 GB, free: 5.191 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4064, allocations: 0 / 0.5752 GB, free: 5.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.4404, allocations: 6.212 MB / 0.5812 GB, free: 15.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.15, allocations: 10.44 kB / 0.5812 GB, free: 15 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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: 15.420210331911221]