Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.0008212/0.0008212, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0007963/0.0007963, allocations: 170 kB / 23.95 MB, free: 0.6172 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.9113/0.9113, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2724/0.2724, allocations: 32.79 MB / 293.5 MB, free: 1.227 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.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 439.6 MB, free: 4.203 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.363e-05, allocations: 6.219 kB / 439.7 MB, free: 4.195 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002576/0.0026, allocations: 1.915 MB / 441.6 MB, free: 2.266 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.003907, allocations: 1.009 MB / 442.6 MB, free: 1.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.004017, allocations: 4 kB / 442.6 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.004335, allocations: 43.69 kB / 442.6 MB, free: 1.203 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.004636, allocations: 103.4 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.004865, allocations: 99.58 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.005072, allocations: 143.5 kB / 443 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.005195, allocations: 29.72 kB / 443 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.827e-05/0.005294, allocations: 75.7 kB / 443.1 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.636e-05/0.00539, allocations: 43.88 kB / 443.1 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.005409, allocations: 8 kB / 443.1 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.108e-05/0.00549, allocations: 43.98 kB / 443.2 MB, free: 0.668 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.005551, allocations: 31.84 kB / 443.2 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.005606, allocations: 31.86 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.005833, allocations: 155.4 kB / 443.4 MB, free: 464 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.005836, allocations: 0 / 443.4 MB, free: 464 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.005837, allocations: 0 / 443.4 MB, free: 464 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.005842, allocations: 4 kB / 443.4 MB, free: 460 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005154/0.006357, allocations: 411 kB / 443.8 MB, free: 12 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.006397, allocations: 8.031 kB / 443.8 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1883/0.1947, allocations: 44.44 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.1948, allocations: 14.88 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/0.1952, allocations: 160.9 kB / 444 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1952, allocations: 12.55 kB / 444 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.1952, allocations: 10.08 kB / 444 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.1954, allocations: 133.4 kB / 444.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1954, allocations: 2.938 kB / 444.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1954, allocations: 4.438 kB / 444.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1954, allocations: 6.812 kB / 444.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.467e-05/0.1955, allocations: 50.91 kB / 444.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004074/0.1959, allocations: 478 kB / 444.7 MB, free: 45.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.1962, allocations: 91.48 kB / 444.8 MB, free: 45.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.1962, allocations: 33.86 kB / 444.8 MB, free: 45.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.1962, allocations: 0 / 444.8 MB, free: 45.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.1964, allocations: 120.6 kB / 444.9 MB, free: 45.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.1964, allocations: 2.906 kB / 444.9 MB, free: 45.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002553/0.1966, allocations: 149.4 kB / 445.1 MB, free: 45.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.1967, allocations: 54.12 kB / 445.1 MB, free: 45.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.1968, allocations: 206.7 kB / 445.3 MB, free: 45.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.1968, allocations: 29.64 kB / 445.4 MB, free: 45.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.1968, allocations: 116.9 kB / 445.5 MB, free: 45.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.1968, allocations: 27.48 kB / 445.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.1969, allocations: 27.66 kB / 445.5 MB, free: 45.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.877e-05/0.1969, allocations: 330.2 kB / 445.8 MB, free: 45.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.513e-05/0.197, allocations: 31.05 kB / 445.9 MB, free: 45.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.208e-05/0.197, allocations: 74.36 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.78e-05/0.1971, allocations: 97.66 kB / 446 MB, free: 45.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1971, allocations: 0 / 446 MB, free: 45.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001487/0.1973, allocations: 148.5 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1973, allocations: 5.875 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1973, allocations: 0 / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1973, allocations: 2.719 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.021e-05/0.1974, allocations: 25.92 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1974, allocations: 2.719 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.1974, allocations: 11.36 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1974, allocations: 10.06 kB / 446.2 MB, free: 45.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.75e-05/0.1975, allocations: 130.2 kB / 446.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.1975, allocations: 16.41 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.1977, allocations: 128.9 kB / 446.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1977, allocations: 2.875 kB / 446.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.1977, allocations: 0 / 446.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1977, allocations: 0 / 446.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.17e-05/0.1978, allocations: 189.3 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1978, allocations: 0 / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.1978, allocations: 19.95 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1979, allocations: 0 / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.1979, allocations: 2.781 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1979, allocations: 0 / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1979, allocations: 2.25 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.1981, allocations: 199.9 kB / 446.9 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.1981, allocations: 13.72 kB / 446.9 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1981, allocations: 10.69 kB / 446.9 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.799e-05/0.1981, allocations: 5.969 kB / 447 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.1982, allocations: 9.016 kB / 447 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1982, allocations: 10.11 kB / 447 MB, free: 44.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.164e-05/0.1982, allocations: 145 kB / 447.1 MB, free: 44.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1982, allocations: 0 / 447.1 MB, free: 44.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001594/0.1984, allocations: 33.98 kB / 447.1 MB, free: 44.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008989/0.1993, allocations: 1.065 MB / 448.2 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001707/0.1995, allocations: 79.2 kB / 448.3 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1995, allocations: 2.594 kB / 448.3 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.512e-05/0.1995, allocations: 34.89 kB / 448.3 MB, free: 43.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.1997, allocations: 39.61 kB / 448.4 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.201, allocations: 1.775 MB / 450.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.442e-05/0.2011, allocations: 103.1 kB / 450.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.357e-05/0.2011, allocations: 16.3 kB / 450.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.2012, allocations: 47.72 kB / 450.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.2012, allocations: 0 / 450.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.2193, allocations: 4.7 MB / 455 MB, free: 40.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/6.908, allocations: 3.938 kB / 455 MB, free: 40.74 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.952587535604835]