Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.0008322/0.0008322, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009134/0.0009134, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9349/0.9349, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.2478/0.2478, allocations: 34.23 MB / 294.8 MB, free: 0.6797 MB / 266.7 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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.277e-06/3.277e-06, allocations: 4 kB / 442.2 MB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.516e-05, allocations: 2.281 kB / 442.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.2118/0.2118, allocations: 1.607 MB / 443.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008345/0.2127, allocations: 0.5199 MB / 444.3 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.2127, allocations: 2.844 kB / 444.3 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.213, allocations: 86.97 kB / 444.4 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002789/0.2133, allocations: 107.5 kB / 444.5 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.2135, allocations: 90.55 kB / 444.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.2137, allocations: 91.02 kB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.2139, allocations: 11.27 kB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.844e-05/0.2139, allocations: 43.61 kB / 444.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.2141, allocations: 53.89 kB / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.2141, allocations: 2.844 kB / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.53e-05/0.2142, allocations: 48.89 kB / 444.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-05/0.2143, allocations: 17.75 kB / 444.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.2143, allocations: 18.66 kB / 444.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.2146, allocations: 107.8 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.2146, allocations: 0.5625 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.2146, allocations: 0.9062 kB / 445 MB, free: 43.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.2146, allocations: 2.906 kB / 445 MB, free: 43.08 MB / 410.7 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.0005707/0.2151, allocations: 338.1 kB / 445.3 MB, free: 42.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.005e-05/0.2152, allocations: 11.75 kB / 445.3 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.2152, allocations: 37.88 kB / 445.4 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.2153, allocations: 14.69 kB / 445.4 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.2155, allocations: 139.6 kB / 445.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2155, allocations: 384 / 445.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.2155, allocations: 7.156 kB / 445.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.2157, allocations: 52.84 kB / 445.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.2157, allocations: 4.141 kB / 445.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2157, allocations: 2.25 kB / 445.6 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.2157, allocations: 8.062 kB / 445.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.971e-05/0.2158, allocations: 36.44 kB / 445.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.2162, allocations: 252.8 kB / 445.9 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.2163, allocations: 44.48 kB / 445.9 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.2163, allocations: 20.23 kB / 445.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.2164, allocations: 3.094 kB / 445.9 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.2164, allocations: 37.67 kB / 446 MB, free: 42.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.2164, allocations: 0 / 446 MB, free: 42.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000733/0.2171, allocations: 235 kB / 446.2 MB, free: 42.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.2171, allocations: 51.41 kB / 446.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.2173, allocations: 213.6 kB / 446.5 MB, free: 42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.933e-06/0.2173, allocations: 25.7 kB / 446.5 MB, free: 41.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.2173, allocations: 107.2 kB / 446.6 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.2174, allocations: 27.86 kB / 446.6 MB, free: 41.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.2174, allocations: 22.8 kB / 446.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.2174, allocations: 335.2 kB / 447 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.711e-05/0.2175, allocations: 24.33 kB / 447 MB, free: 41.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.2175, allocations: 21.23 kB / 447 MB, free: 41.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.453e-05/0.2176, allocations: 68.14 kB / 447.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2176, allocations: 0 / 447.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001223/0.2177, allocations: 102.7 kB / 447.2 MB, free: 41.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2178, allocations: 5.875 kB / 447.2 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2178, allocations: 4 kB / 447.2 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2178, allocations: 3.188 kB / 447.2 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.2179, allocations: 17.89 kB / 447.2 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2179, allocations: 0 / 447.2 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.2179, allocations: 6.625 kB / 447.2 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.2179, allocations: 2.75 kB / 447.2 MB, free: 41.48 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 6.239e-05/0.218, allocations: 134.4 kB / 447.3 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.218, allocations: 10.88 kB / 447.4 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.2182, allocations: 122.7 kB / 447.5 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2182, allocations: 3.938 kB / 447.5 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2182, allocations: 0 / 447.5 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2182, allocations: 0 / 447.5 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.2185, allocations: 366 kB / 447.8 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2185, allocations: 2.688 kB / 447.8 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.2186, allocations: 17.39 kB / 447.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2186, allocations: 2.781 kB / 447.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.2186, allocations: 4.781 kB / 447.9 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2186, allocations: 3.938 kB / 447.9 MB, free: 41.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2186, allocations: 10.41 kB / 447.9 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.2187, allocations: 203.6 kB / 448.1 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.2187, allocations: 9.141 kB / 448.1 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.2188, allocations: 3.625 kB / 448.1 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.725e-05/0.2188, allocations: 8.547 kB / 448.1 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.2188, allocations: 9.781 kB / 448.1 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.2188, allocations: 3.562 kB / 448.1 MB, free: 40.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.47e-05/0.2189, allocations: 165.8 kB / 448.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2189, allocations: 0 / 448.3 MB, free: 40.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000199/0.2191, allocations: 24.58 kB / 448.3 MB, free: 40.79 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.001245/0.2204, allocations: 1.114 MB / 449.4 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.2206, allocations: 63.39 kB / 449.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2206, allocations: 0 / 449.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.946e-05/0.2206, allocations: 34.09 kB / 449.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.221, allocations: 15.88 kB / 449.5 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.2223, allocations: 1.683 MB / 451.2 MB, free: 38.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.811e-05/0.2223, allocations: 88.83 kB / 451.3 MB, free: 38.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.516e-05/0.2224, allocations: 17.22 kB / 451.3 MB, free: 38.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.2224, allocations: 36.45 kB / 451.3 MB, free: 38.58 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2224, allocations: 3.938 kB / 451.3 MB, free: 38.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.2419, allocations: 3.824 MB / 455.2 MB, free: 37.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.666/6.908, allocations: 2.812 kB / 455.2 MB, free: 37.21 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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: 8.934560569003224]