Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.002159/0.002159, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.003/0.003, allocations: 157.3 kB / 23.52 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 158.6 MB / 185.3 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.244/0.244, allocations: 32.38 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.295e-05, allocations: 6.25 kB / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003063/0.003096, allocations: 1.684 MB / 348.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.004554, allocations: 0.7726 MB / 349.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.004667, allocations: 0 / 349.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.005033, allocations: 47.7 kB / 349.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.005295, allocations: 63.69 kB / 349.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.005576, allocations: 79.7 kB / 349.7 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.005758, allocations: 99.69 kB / 349.8 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.005864, allocations: 8.219 kB / 349.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.261e-05/0.005956, allocations: 51.78 kB / 349.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/0.006035, allocations: 27.91 kB / 349.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.006056, allocations: 4 kB / 349.8 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.006159, allocations: 43.92 kB / 349.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.006215, allocations: 15.92 kB / 349.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.006266, allocations: 19.92 kB / 349.9 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.006469, allocations: 119.6 kB / 350 MB, free: 6.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.006473, allocations: 4 kB / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.006475, allocations: 0 / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.00648, allocations: 0 / 350 MB, free: 6.68 MB / 282.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.0004912/0.006971, allocations: 341.6 kB / 350.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.007004, allocations: 8.031 kB / 350.4 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.007069, allocations: 16.89 kB / 350.4 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.00732, allocations: 145.6 kB / 350.5 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.007335, allocations: 4.375 kB / 350.5 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.007364, allocations: 4.375 kB / 350.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.007517, allocations: 62.17 kB / 350.6 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.007531, allocations: 7.891 kB / 350.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.007543, allocations: 0 / 350.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.007548, allocations: 0 / 350.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.817e-05/0.007626, allocations: 19.98 kB / 350.6 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.007931, allocations: 228.6 kB / 350.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.008096, allocations: 58.61 kB / 350.9 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.00815, allocations: 24.78 kB / 350.9 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.008167, allocations: 0 / 350.9 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.008305, allocations: 71.39 kB / 351 MB, free: 5.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.008306, allocations: 0 / 351 MB, free: 5.594 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005584/0.008864, allocations: 185.3 kB / 351.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.00889, allocations: 55.41 kB / 351.2 MB, free: 5.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.009018, allocations: 188.5 kB / 351.4 MB, free: 5.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.009029, allocations: 29.7 kB / 351.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.009066, allocations: 100.1 kB / 351.6 MB, free: 5.012 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.009092, allocations: 23.81 kB / 351.6 MB, free: 4.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.009128, allocations: 25.7 kB / 351.6 MB, free: 4.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.00918, allocations: 326.8 kB / 351.9 MB, free: 4.629 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.425e-05/0.009235, allocations: 23.98 kB / 351.9 MB, free: 4.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-05/0.00929, allocations: 41.58 kB / 352 MB, free: 4.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.009392, allocations: 61.66 kB / 352 MB, free: 4.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.009393, allocations: 0 / 352 MB, free: 4.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001623/0.009556, allocations: 105.6 kB / 352.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.009569, allocations: 8 kB / 352.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.009574, allocations: 0 / 352.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.009594, allocations: 32 / 352.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.957e-05/0.009684, allocations: 23.98 kB / 352.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.00969, allocations: 0 / 352.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.009736, allocations: 384 / 352.2 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.009745, allocations: 4 kB / 352.2 MB, free: 4.348 MB / 282.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 7.221e-05/0.009817, allocations: 138.6 kB / 352.3 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.009841, allocations: 15.91 kB / 352.3 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.01007, allocations: 122.5 kB / 352.5 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.01007, allocations: 7.984 kB / 352.5 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.01007, allocations: 4 kB / 352.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01008, allocations: 4 kB / 352.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.0104, allocations: 346.9 kB / 352.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.0104, allocations: 0 / 352.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.01043, allocations: 8 kB / 352.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01044, allocations: 4 kB / 352.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.01044, allocations: 4 kB / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01045, allocations: 0 / 352.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01045, allocations: 7.984 kB / 352.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.01065, allocations: 216.2 kB / 353 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.01066, allocations: 11.98 kB / 353.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.01068, allocations: 4 kB / 353.1 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.01076, allocations: 7.984 kB / 353.1 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.0108, allocations: 0 / 353.1 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.01081, allocations: 7.984 kB / 353.1 MB, free: 3.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.78e-05/0.01089, allocations: 148.1 kB / 353.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01089, allocations: 0 / 353.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.01114, allocations: 27.98 kB / 353.3 MB, free: 3.211 MB / 282.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.002085/0.01323, allocations: 0.4913 MB / 353.7 MB, free: 2.824 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.01342, allocations: 59.97 kB / 353.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01342, allocations: 0 / 353.8 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.008e-05/0.0135, allocations: 31.91 kB / 353.8 MB, free: 2.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.01386, allocations: 33.64 kB / 353.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.01427, allocations: 233 kB / 354.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.222e-05/0.01433, allocations: 96.23 kB / 354.2 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.065e-05/0.01437, allocations: 16.78 kB / 354.2 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.01442, allocations: 20.5 kB / 354.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01442, allocations: 0 / 354.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of Templates: time 0.004545/0.01897, allocations: 1.832 MB / 356.1 MB, free: 484 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.143457673024386]