Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.000691/0.000691, 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.0008611/0.0008611, allocations: 170 kB / 23.94 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.8847/0.8847, allocations: 177.1 MB / 204.2 MB, free: 5.719 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.2656/0.2656, allocations: 32.78 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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.995e-05/2.163e-05, allocations: 4.391 kB / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002417/0.002438, allocations: 1.908 MB / 441.6 MB, free: 2.246 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.003673, allocations: 1.009 MB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.999e-05/0.003753, allocations: 0 / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.004031, allocations: 47.69 kB / 442.6 MB, free: 1.184 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.004336, allocations: 99.42 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.004567, allocations: 99.56 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.004772, allocations: 147.5 kB / 443 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.004882, allocations: 25.73 kB / 443 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.004988, allocations: 79.69 kB / 443.1 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.005076, allocations: 39.89 kB / 443.1 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.005095, allocations: 8 kB / 443.1 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/0.005176, allocations: 43.98 kB / 443.2 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.082e-05/0.005226, allocations: 31.84 kB / 443.2 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.005272, allocations: 31.86 kB / 443.2 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.00549, allocations: 159.4 kB / 443.4 MB, free: 444 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.005492, allocations: 0 / 443.4 MB, free: 444 kB / 410.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005493, allocations: 0 / 443.4 MB, free: 444 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.005498, allocations: 0 / 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.1917/0.1971, allocations: 413.1 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1972, allocations: 8.781 kB / 443.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.1972, allocations: 39.67 kB / 443.8 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.1973, allocations: 13.23 kB / 443.8 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.1975, allocations: 165.1 kB / 444 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1976, allocations: 5.281 kB / 444 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.1976, allocations: 10.89 kB / 444 MB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1977, allocations: 135 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1977, allocations: 2.625 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1977, allocations: 6.25 kB / 444.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1978, allocations: 9.5 kB / 444.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.957e-05/0.1978, allocations: 49.56 kB / 444.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.1981, allocations: 485.4 kB / 444.7 MB, free: 45.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.1983, allocations: 85.33 kB / 444.8 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.1984, allocations: 39.66 kB / 444.8 MB, free: 45.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.1984, allocations: 1.531 kB / 444.8 MB, free: 45.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.1985, allocations: 111.6 kB / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.1985, allocations: 1.938 kB / 444.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002047/0.1987, allocations: 147.7 kB / 445.1 MB, free: 45.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.699e-05/0.1987, allocations: 58.09 kB / 445.1 MB, free: 45.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.936e-05/0.1988, allocations: 197.7 kB / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.1988, allocations: 30.2 kB / 445.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.1989, allocations: 121.1 kB / 445.5 MB, free: 45.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.1989, allocations: 29.45 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.1989, allocations: 29.59 kB / 445.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.057e-05/0.199, allocations: 330.7 kB / 445.8 MB, free: 45.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.193e-05/0.199, allocations: 36.06 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.451e-05/0.199, allocations: 64.55 kB / 445.9 MB, free: 45.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.694e-05/0.1991, allocations: 101.7 kB / 446 MB, free: 45.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1991, allocations: 2.625 kB / 446 MB, free: 45.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001222/0.1993, allocations: 137.5 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1993, allocations: 7.25 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1993, allocations: 5.953 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1993, allocations: 2.625 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.527e-05/0.1993, allocations: 32.05 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.1993, allocations: 2.906 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.1994, allocations: 9.094 kB / 446.2 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.1994, allocations: 9.312 kB / 446.2 MB, free: 44.95 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 4.989e-05/0.1994, allocations: 130.1 kB / 446.4 MB, free: 44.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.1994, allocations: 15.81 kB / 446.4 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.1996, allocations: 137.9 kB / 446.5 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1996, allocations: 0 / 446.5 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1996, allocations: 0 / 446.5 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1996, allocations: 3.469 kB / 446.5 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.27e-05/0.1997, allocations: 184.9 kB / 446.7 MB, free: 44.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-07/0.1997, allocations: 0 / 446.7 MB, free: 44.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.1997, allocations: 19.16 kB / 446.7 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1997, allocations: 0 / 446.7 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.1997, allocations: 8.578 kB / 446.7 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.1997, allocations: 0 / 446.7 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1997, allocations: 0 / 446.7 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.1999, allocations: 203.4 kB / 446.9 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.1999, allocations: 11.16 kB / 446.9 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.1999, allocations: 2.906 kB / 446.9 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.574e-05/0.1999, allocations: 12.16 kB / 447 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.2, allocations: 6.406 kB / 447 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.2, allocations: 2.969 kB / 447 MB, free: 44.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.812e-05/0.2, allocations: 147 kB / 447.1 MB, free: 44.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2, allocations: 0 / 447.1 MB, free: 44.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.2002, allocations: 33.53 kB / 447.1 MB, free: 44.35 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.0008927/0.2011, allocations: 1.074 MB / 448.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.2012, allocations: 80.47 kB / 448.3 MB, free: 43.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2012, allocations: 0 / 448.3 MB, free: 43.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.975e-05/0.2013, allocations: 36.5 kB / 448.3 MB, free: 43.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.2015, allocations: 45.11 kB / 448.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009961/0.2025, allocations: 1.763 MB / 450.1 MB, free: 42.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.567e-05/0.2025, allocations: 103.9 kB / 450.2 MB, free: 42.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.153e-05/0.2025, allocations: 18.95 kB / 450.3 MB, free: 42.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.2026, allocations: 44.59 kB / 450.3 MB, free: 42.13 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2026, allocations: 0 / 450.3 MB, free: 42.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.2201, allocations: 4.699 MB / 455 MB, free: 40.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.658/6.878, allocations: 10.91 kB / 455 MB, free: 40.68 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.875538188032806]