Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.0007982/0.0007982, 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.0007828/0.0007828, 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.9136/0.9136, 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.2548/0.2548, allocations: 34.24 MB / 294.8 MB, free: 0.6758 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.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 442.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.832e-05, allocations: 6.219 kB / 442.2 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.1912/0.1913, allocations: 1.716 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.193, allocations: 1.662 MB / 445.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.957e-05/0.1931, allocations: 2.594 kB / 445.6 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.1934, allocations: 39.27 kB / 445.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.1937, allocations: 106.6 kB / 445.8 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.1938, allocations: 84.75 kB / 445.8 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.194, allocations: 119.8 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1941, allocations: 2.969 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.695e-05/0.1941, allocations: 66.66 kB / 446 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.257e-05/0.1942, allocations: 29.47 kB / 446.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1942, allocations: 5.875 kB / 446.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.1944, allocations: 106.8 kB / 446.2 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.357e-05/0.1944, allocations: 31.91 kB / 446.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.1945, allocations: 29.66 kB / 446.2 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.1947, allocations: 187.5 kB / 446.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1947, allocations: 2.938 kB / 446.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1947, allocations: 0 / 446.4 MB, free: 42.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1947, allocations: 1.812 kB / 446.4 MB, free: 42.49 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.0004211/0.1951, allocations: 364.7 kB / 446.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1952, allocations: 8.219 kB / 446.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.497e-05/0.1952, allocations: 33.72 kB / 446.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.1952, allocations: 7.734 kB / 446.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1955, allocations: 149.8 kB / 447 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1955, allocations: 15.66 kB / 447 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.1955, allocations: 3.562 kB / 447 MB, free: 41.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1957, allocations: 106.8 kB / 447.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1957, allocations: 192 / 447.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1957, allocations: 7.094 kB / 447.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1957, allocations: 2.625 kB / 447.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.323e-05/0.1958, allocations: 34.52 kB / 447.1 MB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.196, allocations: 269.9 kB / 447.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.1962, allocations: 69.06 kB / 447.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.1962, allocations: 26.67 kB / 447.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.1962, allocations: 7.438 kB / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.1964, allocations: 77.48 kB / 447.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.1964, allocations: 0 / 447.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004357/0.1968, allocations: 218.3 kB / 447.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.1968, allocations: 80.2 kB / 447.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.1969, allocations: 177.5 kB / 448 MB, free: 41.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.1969, allocations: 32.58 kB / 448.1 MB, free: 41.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.197, allocations: 100.7 kB / 448.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.197, allocations: 26.5 kB / 448.2 MB, free: 41.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.197, allocations: 24.89 kB / 448.2 MB, free: 41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.473e-05/0.1971, allocations: 327.6 kB / 448.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.005e-05/0.1971, allocations: 24.59 kB / 448.6 MB, free: 40.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.091e-05/0.1971, allocations: 78.75 kB / 448.6 MB, free: 40.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.569e-05/0.1972, allocations: 75.83 kB / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1972, allocations: 0 / 448.7 MB, free: 40.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001216/0.1973, allocations: 125 kB / 448.8 MB, free: 40.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1974, allocations: 5.312 kB / 448.8 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1974, allocations: 2.344 kB / 448.8 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1974, allocations: 2.844 kB / 448.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.1974, allocations: 19.48 kB / 448.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1974, allocations: 6.5 kB / 448.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.388e-05/0.1975, allocations: 7.688 kB / 448.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1975, allocations: 2.938 kB / 448.9 MB, free: 40.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 5.212e-05/0.1975, allocations: 129.6 kB / 449 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.1976, allocations: 9.797 kB / 449 MB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.1977, allocations: 141.4 kB / 449.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1977, allocations: 0 / 449.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1977, allocations: 2.781 kB / 449.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1977, allocations: 0 / 449.2 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.198, allocations: 411.4 kB / 449.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.198, allocations: 3.234 kB / 449.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.198, allocations: 11.75 kB / 449.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.198, allocations: 6.469 kB / 449.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1981, allocations: 0 / 449.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1981, allocations: 5.375 kB / 449.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1981, allocations: 7.312 kB / 449.6 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.1982, allocations: 232.7 kB / 449.8 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.1982, allocations: 17.25 kB / 449.8 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1982, allocations: 6.125 kB / 449.8 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.498e-05/0.1983, allocations: 10.97 kB / 449.9 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.1983, allocations: 10.27 kB / 449.9 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1983, allocations: 3.031 kB / 449.9 MB, free: 39.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.816e-05/0.1984, allocations: 140.9 kB / 450 MB, free: 39.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1984, allocations: 0 / 450 MB, free: 39.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000201/0.1986, allocations: 49.09 kB / 450.1 MB, free: 39.64 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001069/0.1996, allocations: 1.248 MB / 451.3 MB, free: 38.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001404/0.1998, allocations: 72.52 kB / 451.4 MB, free: 38.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1998, allocations: 0 / 451.4 MB, free: 38.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.787e-05/0.1998, allocations: 40.95 kB / 451.4 MB, free: 38.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.2001, allocations: 32.58 kB / 451.4 MB, free: 38.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.2011, allocations: 1.708 MB / 453.2 MB, free: 37.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.625e-05/0.2012, allocations: 94.12 kB / 453.2 MB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.364e-05/0.2012, allocations: 21.84 kB / 453.3 MB, free: 37.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.2013, allocations: 42.5 kB / 453.3 MB, free: 37.26 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.2013, allocations: 0 / 453.3 MB, free: 37.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.2183, allocations: 5.121 MB / 458.4 MB, free: 35.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.759/6.977, allocations: 0 / 458.4 MB, free: 35.68 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.989283695816994]