Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001374/0.001374, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001538/0.001538, allocations: 216.5 kB / 23.73 MB, free: 4.16 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.364/1.364, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.2149/0.2149, allocations: 46.95 MB / 360.8 MB, free: 3.938 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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 79.88 kB / 0.4962 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2926, allocations: 66.09 MB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002933/0.2956, allocations: 1.631 MB / 0.5623 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009821/0.2966, allocations: 0.5343 MB / 0.5628 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.2966, allocations: 0 / 0.5628 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005718/0.2972, allocations: 455.1 kB / 0.5633 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004599/0.2976, allocations: 299.3 kB / 0.5636 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.2979, allocations: 120.7 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.2982, allocations: 171.6 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.2983, allocations: 13.81 kB / 0.5638 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.2984, allocations: 111.7 kB / 0.564 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.2986, allocations: 247.5 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.2987, allocations: 4 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.2987, allocations: 39.91 kB / 0.5642 GB, free: 448 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.2989, allocations: 83.69 kB / 0.5643 GB, free: 364 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.584e-05/0.2989, allocations: 67.25 kB / 0.5644 GB, free: 296 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.2993, allocations: 270.6 kB / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2993, allocations: 0 / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2993, allocations: 0 / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.2993, allocations: 0 / 0.5646 GB, free: 24 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.000785/0.3001, allocations: 0.5893 MB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3001, allocations: 8.031 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.3001, allocations: 38.73 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.3002, allocations: 44.61 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.3005, allocations: 254.6 kB / 0.5655 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3005, allocations: 8.375 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.3005, allocations: 4.359 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.3006, allocations: 46.25 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.3007, allocations: 11.94 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3007, allocations: 4 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3007, allocations: 4 kB / 0.5656 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.818e-05/0.3008, allocations: 23.97 kB / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.3013, allocations: 363.7 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.3015, allocations: 42.56 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.091e-05/0.3015, allocations: 16.94 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.3016, allocations: 0 / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3016, allocations: 34.56 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.3016, allocations: 0 / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000596/0.3022, allocations: 240.6 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3022, allocations: 51.41 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009435/0.3032, allocations: 0.8776 MB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.3032, allocations: 25.7 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.3034, allocations: 224.1 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.3034, allocations: 15.84 kB / 0.5675 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.3035, allocations: 21.7 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3036, allocations: 362.7 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.682e-05/0.3037, allocations: 19.98 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.3038, allocations: 19.98 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3039, allocations: 48.83 kB / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3039, allocations: 0 / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002184/0.3041, allocations: 117.3 kB / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3041, allocations: 4 kB / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3041, allocations: 4 kB / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3041, allocations: 0 / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.3042, allocations: 19.92 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.3042, allocations: 0 / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.3043, allocations: 7.984 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.3043, allocations: 0 / 0.5681 GB, free: 12.31 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.0001944/0.3045, allocations: 213.7 kB / 0.5683 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.3045, allocations: 43.72 kB / 0.5683 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.3048, allocations: 145.5 kB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3048, allocations: 0 / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3048, allocations: 4.062 kB / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3048, allocations: 0 / 0.5684 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.3054, allocations: 429.5 kB / 0.5689 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3054, allocations: 3.984 kB / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.3055, allocations: 11.94 kB / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3055, allocations: 0 / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3055, allocations: 0 / 0.5689 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.3055, allocations: 11.94 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3055, allocations: 0 / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.3057, allocations: 219.1 kB / 0.5691 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.3058, allocations: 43.7 kB / 0.5691 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.3058, allocations: 3.938 kB / 0.5691 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.3059, allocations: 7.938 kB / 0.5691 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.306, allocations: 4.266 kB / 0.5691 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.306, allocations: 0 / 0.5691 GB, free: 11.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006778/0.3066, allocations: 0.6589 MB / 0.5698 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3066, allocations: 4 kB / 0.5698 GB, free: 10.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.3069, allocations: 27.92 kB / 0.5698 GB, free: 10.41 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.002036/0.3089, allocations: 1.071 MB / 0.5709 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.3091, allocations: 43.97 kB / 0.5709 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3091, allocations: 0 / 0.5709 GB, free: 9.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.771e-05/0.3092, allocations: 35.91 kB / 0.5709 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.3096, allocations: 26.25 kB / 0.571 GB, free: 9.363 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.3134, allocations: 3.24 MB / 0.5741 GB, free: 6.031 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3136, allocations: 216.2 kB / 0.5743 GB, free: 5.801 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.111e-05/0.3137, allocations: 11.98 kB / 0.5744 GB, free: 5.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.3138, allocations: 107.4 kB / 0.5745 GB, free: 5.688 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3138, allocations: 0 / 0.5745 GB, free: 5.688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03237/0.3462, allocations: 6.576 MB / 0.5809 GB, free: 15.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.13, allocations: 14.12 kB / 0.5809 GB, free: 15.11 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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: 13.966670697089285]