Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008895/0.0008895, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001/0.001, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9416/0.9416, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2804/0.2804, allocations: 32.79 MB / 293.5 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.051e-05, allocations: 6.281 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002255/0.002276, allocations: 1.666 MB / 441.3 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007131/0.002989, allocations: 0.5374 MB / 441.8 MB, free: 2.004 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.003047, allocations: 0 / 441.8 MB, free: 2.004 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004197/0.003467, allocations: 455 kB / 442.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003946/0.003861, allocations: 299.1 kB / 442.6 MB, free: 1.266 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.004147, allocations: 127.6 kB / 442.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.004372, allocations: 179.6 kB / 442.9 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.004477, allocations: 15.98 kB / 442.9 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.004595, allocations: 119.8 kB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.004783, allocations: 247.5 kB / 443.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.004799, allocations: 4 kB / 443.2 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.708e-05/0.004896, allocations: 51.86 kB / 443.3 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.934e-05/0.004985, allocations: 83.72 kB / 443.4 MB, free: 464 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.091e-05/0.005026, allocations: 47.72 kB / 443.4 MB, free: 416 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.005278, allocations: 259 kB / 443.7 MB, free: 156 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.00528, allocations: 0 / 443.7 MB, free: 156 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.005282, allocations: 0 / 443.7 MB, free: 156 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.005286, allocations: 0 / 443.7 MB, free: 156 kB / 410.7 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.1923/0.1976, allocations: 0.582 MB / 444.2 MB, free: 46.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1976, allocations: 10.72 kB / 444.3 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.73e-05/0.1976, allocations: 35.16 kB / 444.3 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.1977, allocations: 47.45 kB / 444.3 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.1979, allocations: 252.2 kB / 444.6 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1979, allocations: 9.875 kB / 444.6 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1979, allocations: 4.031 kB / 444.6 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.198, allocations: 54.48 kB / 444.6 MB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.198, allocations: 3.656 kB / 444.7 MB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.198, allocations: 2.281 kB / 444.7 MB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.198, allocations: 5.469 kB / 444.7 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.333e-05/0.1981, allocations: 30.97 kB / 444.7 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.1984, allocations: 361.8 kB / 445 MB, free: 45.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.573e-05/0.1985, allocations: 48.91 kB / 445.1 MB, free: 45.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.1986, allocations: 19.98 kB / 445.1 MB, free: 45.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1986, allocations: 1 kB / 445.1 MB, free: 45.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.1986, allocations: 32.16 kB / 445.1 MB, free: 45.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1986, allocations: 1.969 kB / 445.1 MB, free: 45.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006117/0.1992, allocations: 317.5 kB / 445.5 MB, free: 45.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.1992, allocations: 54.34 kB / 445.5 MB, free: 45.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.1997, allocations: 0.8726 MB / 446.4 MB, free: 45.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.1997, allocations: 25.7 kB / 446.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.455e-05/0.1998, allocations: 228.8 kB / 446.6 MB, free: 45.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.1998, allocations: 29.19 kB / 446.7 MB, free: 45.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.1998, allocations: 21.72 kB / 446.7 MB, free: 45.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.891e-05/0.1999, allocations: 371 kB / 447 MB, free: 44.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/0.1999, allocations: 26.83 kB / 447.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.676e-05/0.2, allocations: 30.39 kB / 447.1 MB, free: 44.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.051e-05/0.2001, allocations: 70.8 kB / 447.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2001, allocations: 0 / 447.2 MB, free: 44.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001225/0.2002, allocations: 135.4 kB / 447.3 MB, free: 44.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2002, allocations: 5.719 kB / 447.3 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2002, allocations: 0 / 447.3 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2002, allocations: 0 / 447.3 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.2003, allocations: 21.02 kB / 447.3 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2003, allocations: 3.062 kB / 447.3 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.2003, allocations: 5.984 kB / 447.3 MB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.2003, allocations: 2.594 kB / 447.3 MB, free: 44.79 MB / 410.7 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.000105/0.2004, allocations: 223.1 kB / 447.6 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.2005, allocations: 47.42 kB / 447.6 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.2007, allocations: 154.2 kB / 447.8 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2007, allocations: 3.062 kB / 447.8 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2007, allocations: 0 / 447.8 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2007, allocations: 2.344 kB / 447.8 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.201, allocations: 481.6 kB / 448.2 MB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.201, allocations: 3.938 kB / 448.2 MB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.2011, allocations: 17.94 kB / 448.2 MB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2011, allocations: 2.844 kB / 448.3 MB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.2011, allocations: 6.219 kB / 448.3 MB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2011, allocations: 3.938 kB / 448.3 MB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2011, allocations: 0.7812 kB / 448.3 MB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.2012, allocations: 243.9 kB / 448.5 MB, free: 44.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.2012, allocations: 43.62 kB / 448.5 MB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.2012, allocations: 4.281 kB / 448.5 MB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.617e-05/0.2013, allocations: 6.844 kB / 448.6 MB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.2013, allocations: 6.562 kB / 448.6 MB, free: 43.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.2013, allocations: 2.938 kB / 448.6 MB, free: 43.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003185/0.2016, allocations: 0.6611 MB / 449.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2016, allocations: 0 / 449.2 MB, free: 43.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001882/0.2018, allocations: 30.14 kB / 449.3 MB, free: 43.73 MB / 410.7 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.0009585/0.2028, allocations: 1.168 MB / 450.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.2029, allocations: 69.12 kB / 450.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2029, allocations: 4 kB / 450.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.194e-05/0.203, allocations: 34.28 kB / 450.5 MB, free: 42.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.2033, allocations: 37.34 kB / 450.6 MB, free: 42.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.2055, allocations: 3.323 MB / 453.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.2057, allocations: 226.2 kB / 454.1 MB, free: 41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.355e-05/0.2058, allocations: 17.52 kB / 454.1 MB, free: 41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-05/0.2059, allocations: 111.8 kB / 454.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.843e-06/0.2059, allocations: 0 / 454.2 MB, free: 40.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.2252, allocations: 7.06 MB / 461.3 MB, free: 39.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.742/6.967, allocations: 9.188 kB / 461.3 MB, free: 39.2 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 9.047666466794908]