Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001214/0.001214, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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: 210.9 kB / 24.51 MB, free: 3.941 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.389/1.389, allocations: 230.5 MB / 258.2 MB, free: 7.793 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.2248/0.2248, allocations: 46.94 MB / 361.6 MB, free: 3.949 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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 83.86 kB / 0.4969 GB, free: 7.535 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3314, allocations: 66.08 MB / 0.5615 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003016/0.3344, allocations: 1.644 MB / 0.5631 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.3354, allocations: 0.5421 MB / 0.5636 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.3354, allocations: 0 / 0.5636 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.336, allocations: 459.1 kB / 0.564 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.3365, allocations: 291.3 kB / 0.5643 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.3368, allocations: 135 kB / 0.5644 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.3371, allocations: 175.6 kB / 0.5646 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.3372, allocations: 13.83 kB / 0.5646 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.3373, allocations: 111.8 kB / 0.5647 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.3376, allocations: 255.5 kB / 0.565 GB, free: 316 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3376, allocations: 4 kB / 0.565 GB, free: 312 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.3377, allocations: 51.92 kB / 0.565 GB, free: 260 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.3378, allocations: 83.67 kB / 0.5651 GB, free: 176 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.3379, allocations: 75.23 kB / 0.5652 GB, free: 100 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.3382, allocations: 286.5 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3382, allocations: 0 / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3382, allocations: 0 / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.3382, allocations: 4 kB / 0.5655 GB, free: 15.81 MB / 414.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.0007293/0.339, allocations: 0.5969 MB / 0.566 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.339, allocations: 8.031 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.649e-05/0.339, allocations: 4.188 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.3391, allocations: 38.73 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.3391, allocations: 40.66 kB / 0.5661 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.3394, allocations: 250.8 kB / 0.5664 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3394, allocations: 12.31 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.3394, allocations: 4.375 kB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.3396, allocations: 61.92 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3396, allocations: 4 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3396, allocations: 4 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3396, allocations: 0 / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.3397, allocations: 27.98 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.3402, allocations: 367.7 kB / 0.5668 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.3403, allocations: 38.56 kB / 0.5669 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.3404, allocations: 20.94 kB / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.3404, allocations: 0 / 0.5669 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.3404, allocations: 30.56 kB / 0.5669 GB, free: 14.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.3404, allocations: 4 kB / 0.5669 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009541/0.3414, allocations: 320.5 kB / 0.5672 GB, free: 13.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.3414, allocations: 55.41 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/0.3424, allocations: 0.8776 MB / 0.5681 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.3424, allocations: 29.7 kB / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.3426, allocations: 224.1 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.3426, allocations: 31.73 kB / 0.5684 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/0.3427, allocations: 21.72 kB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.3429, allocations: 362.8 kB / 0.5688 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.343, allocations: 23.98 kB / 0.5688 GB, free: 12.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.343, allocations: 23.98 kB / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.3432, allocations: 60.83 kB / 0.5689 GB, free: 12.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3432, allocations: 0 / 0.5689 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002463/0.3434, allocations: 145.3 kB / 0.569 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3435, allocations: 11.92 kB / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3435, allocations: 0 / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.3435, allocations: 0 / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3436, allocations: 19.98 kB / 0.569 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3436, allocations: 3.938 kB / 0.5691 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.3437, allocations: 4 kB / 0.5691 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.3437, allocations: 8 kB / 0.5691 GB, free: 11.92 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 (8): * Single equations (assignments): 8 * 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.0002135/0.3439, allocations: 219.1 kB / 0.5693 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.344, allocations: 47.67 kB / 0.5693 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.3443, allocations: 157.8 kB / 0.5695 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3443, allocations: 4 kB / 0.5695 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3443, allocations: 3.938 kB / 0.5695 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3443, allocations: 0 / 0.5695 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.345, allocations: 482.8 kB / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.345, allocations: 0 / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.345, allocations: 23.92 kB / 0.57 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.345, allocations: 0 / 0.57 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3451, allocations: 0 / 0.57 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3451, allocations: 4 kB / 0.57 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3451, allocations: 0 / 0.57 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.3454, allocations: 244 kB / 0.5702 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.3454, allocations: 47.64 kB / 0.5702 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3454, allocations: 4.031 kB / 0.5702 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.3455, allocations: 4 kB / 0.5702 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.3456, allocations: 11.98 kB / 0.5703 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3456, allocations: 0 / 0.5703 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006445/0.3462, allocations: 0.6589 MB / 0.5709 GB, free: 9.938 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3462, allocations: 0 / 0.5709 GB, free: 9.938 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.3465, allocations: 31.94 kB / 0.5709 GB, free: 9.906 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002354/0.3488, allocations: 1.155 MB / 0.5721 GB, free: 8.898 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.3491, allocations: 63.95 kB / 0.5721 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3491, allocations: 0 / 0.5721 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.519e-05/0.3491, allocations: 39.92 kB / 0.5722 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.3495, allocations: 29.73 kB / 0.5722 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.3535, allocations: 3.329 MB / 0.5754 GB, free: 5.348 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.3538, allocations: 228.1 kB / 0.5757 GB, free: 5.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.444e-05/0.3538, allocations: 24.72 kB / 0.5757 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.354, allocations: 111.4 kB / 0.5758 GB, free: 4.973 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.354, allocations: 0 / 0.5758 GB, free: 4.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.3803, allocations: 6.629 MB / 0.5823 GB, free: 14.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.65, allocations: 13.67 kB / 0.5823 GB, free: 14.36 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.63787869096268]