Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.0008985/0.0008985, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.000971/0.000971, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9196/0.9196, 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.2564/0.2564, allocations: 32.8 MB / 293.5 MB, free: 1.219 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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.162e-05, allocations: 2.281 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002515/0.002537, allocations: 1.902 MB / 441.6 MB, free: 2.246 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.003747, allocations: 1.013 MB / 442.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.862e-05/0.003846, allocations: 0 / 442.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.004145, allocations: 43.69 kB / 442.6 MB, free: 1.184 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.00442, allocations: 99.42 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.004699, allocations: 99.56 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.004876, allocations: 151.5 kB / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.004977, allocations: 25.73 kB / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/0.005065, allocations: 75.75 kB / 443.1 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.759e-05/0.005143, allocations: 35.89 kB / 443.1 MB, free: 0.707 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.005161, allocations: 11.94 kB / 443.1 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.277e-05/0.005233, allocations: 43.98 kB / 443.2 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.005286, allocations: 27.89 kB / 443.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.005329, allocations: 27.88 kB / 443.2 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.005531, allocations: 163.4 kB / 443.4 MB, free: 448 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.005532, allocations: 0 / 443.4 MB, free: 448 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005534, allocations: 0 / 443.4 MB, free: 448 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.005538, allocations: 4 kB / 443.4 MB, free: 444 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.1885/0.1941, allocations: 412.3 kB / 443.8 MB, free: 46.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.1941, allocations: 10.72 kB / 443.8 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.505e-05/0.1942, allocations: 36.91 kB / 443.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.1943, allocations: 16.56 kB / 443.8 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.1946, allocations: 164 kB / 444 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1947, allocations: 6.156 kB / 444 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.1947, allocations: 7.719 kB / 444 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.1949, allocations: 137.5 kB / 444.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.195, allocations: 3.828 kB / 444.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.195, allocations: 1.938 kB / 444.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.195, allocations: 6.906 kB / 444.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.1951, allocations: 56.36 kB / 444.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.1957, allocations: 481.4 kB / 444.7 MB, free: 45.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.196, allocations: 88.8 kB / 444.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.204e-05/0.196, allocations: 39.38 kB / 444.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1961, allocations: 2.406 kB / 444.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.1963, allocations: 116.7 kB / 444.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.344e-06/0.1963, allocations: 0 / 444.9 MB, free: 45.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003362/0.1966, allocations: 147.6 kB / 445.1 MB, free: 45.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.1966, allocations: 51.97 kB / 445.1 MB, free: 45.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.1968, allocations: 204.4 kB / 445.3 MB, free: 45.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.1968, allocations: 32.67 kB / 445.4 MB, free: 45.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.1968, allocations: 117.8 kB / 445.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.1968, allocations: 30.39 kB / 445.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.1969, allocations: 29.05 kB / 445.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.257e-05/0.1969, allocations: 335.2 kB / 445.9 MB, free: 45.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.95e-05/0.197, allocations: 30.92 kB / 445.9 MB, free: 45.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.991e-05/0.197, allocations: 63.52 kB / 445.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1972, allocations: 100.5 kB / 446 MB, free: 45.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.1972, allocations: 2.781 kB / 446 MB, free: 45.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001797/0.1974, allocations: 141.8 kB / 446.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1974, allocations: 5.562 kB / 446.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1974, allocations: 0 / 446.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1974, allocations: 2.656 kB / 446.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.1975, allocations: 25.75 kB / 446.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1975, allocations: 9.594 kB / 446.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.1975, allocations: 19.52 kB / 446.2 MB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1975, allocations: 2.906 kB / 446.2 MB, free: 45.03 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 7.482e-05/0.1976, allocations: 132.6 kB / 446.4 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.1976, allocations: 16.69 kB / 446.4 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.1978, allocations: 131.6 kB / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.1978, allocations: 2.531 kB / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.1978, allocations: 0 / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1978, allocations: 0 / 446.5 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.1979, allocations: 180.5 kB / 446.7 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1979, allocations: 4.875 kB / 446.7 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.198, allocations: 14.84 kB / 446.7 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.198, allocations: 5.969 kB / 446.7 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.198, allocations: 2.25 kB / 446.7 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.198, allocations: 6.125 kB / 446.7 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.198, allocations: 0 / 446.7 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.1983, allocations: 194.5 kB / 446.9 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.1983, allocations: 16.64 kB / 446.9 MB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.1983, allocations: 3.094 kB / 446.9 MB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-05/0.1983, allocations: 13.84 kB / 447 MB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.1984, allocations: 9.047 kB / 447 MB, free: 44.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1984, allocations: 3.844 kB / 447 MB, free: 44.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.635e-05/0.1984, allocations: 145.6 kB / 447.1 MB, free: 44.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1984, allocations: 0 / 447.1 MB, free: 44.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.1986, allocations: 27.81 kB / 447.1 MB, free: 44.43 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.0009718/0.1996, allocations: 1.072 MB / 448.2 MB, free: 43.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.1997, allocations: 80.55 kB / 448.3 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1997, allocations: 256 / 448.3 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.765e-05/0.1998, allocations: 42.02 kB / 448.3 MB, free: 43.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.2, allocations: 36.16 kB / 448.4 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2012, allocations: 1.765 MB / 450.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.281e-05/0.2013, allocations: 109.9 kB / 450.2 MB, free: 42.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.496e-05/0.2014, allocations: 20.72 kB / 450.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.2014, allocations: 47.89 kB / 450.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2014, allocations: 0 / 450.3 MB, free: 42.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.221, allocations: 4.7 MB / 455 MB, free: 40.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/6.923, allocations: 0 / 455 MB, free: 40.76 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.975785344839096]