Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001187/0.001187, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005782/0.005782, allocations: 164 kB / 24.7 MB, free: 8.891 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.8768/0.8768, allocations: 177.1 MB / 205 MB, free: 5.738 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.2453/0.2453, allocations: 32.8 MB / 294.2 MB, free: 1.18 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 440.9 MB, free: 3.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.862e-05, allocations: 2.281 kB / 440.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002292/0.002321, allocations: 1.705 MB / 442.6 MB, free: 1.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.003526, allocations: 0.9819 MB / 443.6 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.003605, allocations: 0 / 443.6 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.003897, allocations: 43.7 kB / 443.7 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.004172, allocations: 103.5 kB / 443.8 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.004334, allocations: 75.61 kB / 443.8 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.004499, allocations: 107.7 kB / 443.9 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.004599, allocations: 4 kB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.004684, allocations: 55.78 kB / 444 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.567e-05/0.004759, allocations: 35.89 kB / 444 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.004775, allocations: 4 kB / 444 MB, free: 0.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.004858, allocations: 43.92 kB / 444.1 MB, free: 468 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.096e-05/0.004919, allocations: 31.84 kB / 444.1 MB, free: 436 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.004957, allocations: 15.94 kB / 444.1 MB, free: 420 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.005149, allocations: 123.5 kB / 444.3 MB, free: 296 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.005151, allocations: 0 / 444.3 MB, free: 296 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.005153, allocations: 0 / 444.3 MB, free: 296 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.005158, allocations: 0 / 444.3 MB, free: 296 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.2075/0.2127, allocations: 348.8 kB / 444.6 MB, free: 46.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.2127, allocations: 8.844 kB / 444.6 MB, free: 46.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.2128, allocations: 15.73 kB / 444.6 MB, free: 46.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.2131, allocations: 152.2 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.2131, allocations: 8.906 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.2131, allocations: 3 kB / 444.8 MB, free: 46.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.2133, allocations: 51.89 kB / 444.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.2133, allocations: 5.688 kB / 444.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2133, allocations: 1.156 kB / 444.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2133, allocations: 2.906 kB / 444.8 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.576e-05/0.2134, allocations: 26.67 kB / 444.9 MB, free: 46.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.2137, allocations: 232.9 kB / 445.1 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.2139, allocations: 57.02 kB / 445.1 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.2139, allocations: 17.98 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2139, allocations: 9.516 kB / 445.2 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.2141, allocations: 65.72 kB / 445.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.2141, allocations: 0 / 445.2 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004579/0.2145, allocations: 190.7 kB / 445.4 MB, free: 46.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.2145, allocations: 55.12 kB / 445.5 MB, free: 46.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2147, allocations: 211.7 kB / 445.7 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.2147, allocations: 32.33 kB / 445.7 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.535e-05/0.2147, allocations: 109.5 kB / 445.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.2147, allocations: 24.28 kB / 445.8 MB, free: 45.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.2148, allocations: 24.94 kB / 445.9 MB, free: 45.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.2148, allocations: 329.5 kB / 446.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.95e-05/0.2149, allocations: 20.09 kB / 446.2 MB, free: 45.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.07e-05/0.2149, allocations: 33.78 kB / 446.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.399e-05/0.215, allocations: 66.12 kB / 446.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.215, allocations: 0 / 446.3 MB, free: 45.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001238/0.2151, allocations: 118.4 kB / 446.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.2151, allocations: 7.062 kB / 446.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2151, allocations: 0 / 446.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2151, allocations: 5.766 kB / 446.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.377e-05/0.2152, allocations: 17.84 kB / 446.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2152, allocations: 0 / 446.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/0.2153, allocations: 2.844 kB / 446.5 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.2153, allocations: 6.875 kB / 446.5 MB, free: 45.54 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 (10): * Single equations (assignments): 10 * 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.098e-05/0.2153, allocations: 126.3 kB / 446.6 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.2153, allocations: 17.45 kB / 446.6 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.2155, allocations: 123.1 kB / 446.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.2155, allocations: 0 / 446.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2155, allocations: 2.875 kB / 446.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2155, allocations: 0 / 446.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.2158, allocations: 359.3 kB / 447.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2158, allocations: 0 / 447.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.2158, allocations: 12.72 kB / 447.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.2158, allocations: 2.938 kB / 447.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.2158, allocations: 4.5 kB / 447.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2158, allocations: 5.344 kB / 447.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2158, allocations: 0 / 447.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.2159, allocations: 215.6 kB / 447.3 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.2159, allocations: 15.84 kB / 447.3 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.216, allocations: 0 / 447.3 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.967e-05/0.216, allocations: 9.125 kB / 447.3 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.216, allocations: 9.594 kB / 447.4 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.216, allocations: 2.906 kB / 447.4 MB, free: 44.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.19e-05/0.2161, allocations: 160.4 kB / 447.5 MB, free: 44.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2161, allocations: 1.688 kB / 447.5 MB, free: 44.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000183/0.2163, allocations: 29.75 kB / 447.5 MB, free: 44.8 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 (9): * Single equations (assignments): 7 * 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.0008196/0.2171, allocations: 490.8 kB / 448 MB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.2173, allocations: 66.11 kB / 448.1 MB, free: 44.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2173, allocations: 3.938 kB / 448.1 MB, free: 44.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.398e-05/0.2173, allocations: 27.3 kB / 448.1 MB, free: 44.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.2176, allocations: 36.92 kB / 448.2 MB, free: 44.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.218, allocations: 274 kB / 448.4 MB, free: 44.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.33e-05/0.2181, allocations: 92.61 kB / 448.5 MB, free: 44.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.2181, allocations: 17.41 kB / 448.5 MB, free: 44.33 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2181, allocations: 0 / 448.5 MB, free: 44.33 MB / 410.7 MB Notification: Performance of Templates: time 0.002936/0.221, allocations: 2.037 MB / 450.6 MB, free: 44.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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: 5.027730828151107]