Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.00108/0.00108, allocations: 71.77 kB / 21.69 MB, free: 2.848 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.001188/0.001188, allocations: 160.5 kB / 24.98 MB, free: 9.281 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 1.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2723/0.2723, allocations: 32.81 MB / 294.6 MB, free: 1.277 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 376.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.344e-05, allocations: 10.25 kB / 376.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003405/0.003428, allocations: 1.843 MB / 377.9 MB, free: 3.035 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.00637, allocations: 1.789 MB / 379.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.006509, allocations: 4 kB / 379.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.006809, allocations: 59.55 kB / 379.8 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.007172, allocations: 147.2 kB / 379.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.00737, allocations: 111.6 kB / 380 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.007586, allocations: 207.3 kB / 380.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.007635, allocations: 5.812 kB / 380.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.007756, allocations: 115.6 kB / 380.4 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.007884, allocations: 63.8 kB / 380.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.007906, allocations: 12 kB / 380.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.008052, allocations: 103.8 kB / 380.5 MB, free: 432 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.425e-05/0.008116, allocations: 43.83 kB / 380.6 MB, free: 388 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.008168, allocations: 35.86 kB / 380.6 MB, free: 352 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.008442, allocations: 203.2 kB / 380.8 MB, free: 148 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.008445, allocations: 0 / 380.8 MB, free: 148 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008446, allocations: 0 / 380.8 MB, free: 148 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.008451, allocations: 0 / 380.8 MB, free: 148 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005647/0.009016, allocations: 0.5206 MB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.009052, allocations: 8.031 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.009112, allocations: 20.84 kB / 381.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.009341, allocations: 188.2 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.00936, allocations: 4.375 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.009374, allocations: 8.297 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.009565, allocations: 167.1 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.009573, allocations: 0 / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.009584, allocations: 3.984 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.009593, allocations: 3.984 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.487e-05/0.009638, allocations: 27.92 kB / 381.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.009962, allocations: 180.2 kB / 381.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.0101, allocations: 90.22 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/0.01014, allocations: 39.3 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.01016, allocations: 0 / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.01033, allocations: 112.3 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.01e-07/0.01033, allocations: 4 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002513/0.01058, allocations: 137.9 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.01063, allocations: 136.5 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.01083, allocations: 278.7 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.01084, allocations: 29.7 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.0109, allocations: 166.8 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.01094, allocations: 27.75 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.01098, allocations: 39.36 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.01116, allocations: 0.5 MB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.01119, allocations: 19.98 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.01126, allocations: 129.6 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.489e-05/0.01135, allocations: 74.67 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01135, allocations: 4 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000135/0.01148, allocations: 113.5 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.0115, allocations: 8 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.0115, allocations: 0 / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.01151, allocations: 0 / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.992e-05/0.01159, allocations: 32.02 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.0116, allocations: 0 / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.01165, allocations: 11.95 kB / 383.8 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.01165, allocations: 4 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 8.384e-05/0.01174, allocations: 172.5 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.01177, allocations: 31.8 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.01194, allocations: 131 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.01194, allocations: 4.062 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.01195, allocations: 4 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.01195, allocations: 0 / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.01207, allocations: 180.4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01207, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.01209, allocations: 11.94 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.0121, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.01211, allocations: 15.92 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.01211, allocations: 0 / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01211, allocations: 0 / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.01227, allocations: 175.9 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.01229, allocations: 23.89 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.01231, allocations: 4 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.01235, allocations: 11.98 kB / 384.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.01239, allocations: 19.91 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.0124, allocations: 4 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002466/0.01265, allocations: 201.8 kB / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01265, allocations: 0 / 384.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001839/0.01284, allocations: 55.86 kB / 384.9 MB, free: 11.66 MB / 362.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009687/0.0138, allocations: 0.492 MB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.01394, allocations: 67.59 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01394, allocations: 0 / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/0.01399, allocations: 43.61 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.01423, allocations: 64.55 kB / 385.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.01462, allocations: 282.5 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.801e-05/0.01466, allocations: 71.98 kB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.019e-05/0.01472, allocations: 29.95 kB / 385.9 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.01477, allocations: 32.42 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01477, allocations: 0 / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.005083/0.01985, allocations: 3.44 MB / 389.4 MB, free: 7.316 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.320872648851946]