Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.0009443/0.0009443, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009828/0.0009828, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.9553/0.9553, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 34.25 MB / 296.1 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.542e-05, allocations: 3.078 kB / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002402/0.002418, allocations: 1.772 MB / 327.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.003793, allocations: 0.9981 MB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.513e-05/0.003858, allocations: 0 / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.004109, allocations: 43.7 kB / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.004386, allocations: 103.5 kB / 328.2 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.004564, allocations: 75.66 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.004716, allocations: 111.6 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.739e-05/0.004783, allocations: 7.984 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/0.004871, allocations: 51.84 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.75e-05/0.004939, allocations: 31.84 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.004953, allocations: 4 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.005156, allocations: 47.91 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.005201, allocations: 15.92 kB / 328.6 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.005233, allocations: 20.38 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.005396, allocations: 103.7 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-06/0.005397, allocations: 0 / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005398, allocations: 0 / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.005401, allocations: 0 / 328.7 MB, free: 4.223 MB / 298.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.0003497/0.00575, allocations: 325.5 kB / 329 MB, free: 3.883 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.005778, allocations: 8.031 kB / 329 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.005808, allocations: 12.86 kB / 329 MB, free: 3.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.005952, allocations: 147.4 kB / 329.2 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.005966, allocations: 4.375 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.005986, allocations: 12.31 kB / 329.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.711e-05/0.006083, allocations: 65.77 kB / 329.3 MB, free: 3.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.006092, allocations: 7.922 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.006099, allocations: 0 / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.006105, allocations: 4 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.71e-05/0.006132, allocations: 4 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.006322, allocations: 169.9 kB / 329.5 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.977e-05/0.006412, allocations: 85.36 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.006431, allocations: 8.859 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.00644, allocations: 3.984 kB / 329.5 MB, free: 3.297 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.249e-05/0.006523, allocations: 78.12 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.006524, allocations: 0 / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002731/0.006797, allocations: 105.5 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.006827, allocations: 59.41 kB / 329.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.006945, allocations: 181.2 kB / 330 MB, free: 2.836 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.006961, allocations: 29.7 kB / 330 MB, free: 2.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/0.006994, allocations: 96.11 kB / 330.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.00702, allocations: 27.78 kB / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.007058, allocations: 25.7 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.007137, allocations: 326.8 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.007155, allocations: 10.83 kB / 330.5 MB, free: 2.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.562e-05/0.00718, allocations: 21.72 kB / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.027e-05/0.00723, allocations: 44.5 kB / 330.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.007231, allocations: 4 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.161e-05/0.007323, allocations: 72.38 kB / 330.6 MB, free: 2.145 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.007333, allocations: 4 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.007337, allocations: 0 / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.007348, allocations: 0 / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.187e-05/0.00741, allocations: 19.92 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.007413, allocations: 8.031 kB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/0.007445, allocations: 4 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.007451, allocations: 4.375 kB / 330.6 MB, free: 2.105 MB / 298.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.26e-05/0.007514, allocations: 115.6 kB / 330.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.00753, allocations: 15.92 kB / 330.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.007632, allocations: 71.08 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007634, allocations: 0 / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.007638, allocations: 11.94 kB / 330.9 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.007642, allocations: 3.984 kB / 330.9 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.007867, allocations: 299.4 kB / 331.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007868, allocations: 0 / 331.2 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.007895, allocations: 12 kB / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.007897, allocations: 0 / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.007902, allocations: 0 / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.007903, allocations: 240 / 331.2 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.007908, allocations: 7.984 kB / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.008019, allocations: 219 kB / 331.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.008031, allocations: 7.953 kB / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.008047, allocations: 0 / 331.4 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.673e-05/0.008104, allocations: 12.03 kB / 331.4 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.008127, allocations: 7.984 kB / 331.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.008136, allocations: 0 / 331.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.387e-05/0.00819, allocations: 55.62 kB / 331.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00819, allocations: 0 / 331.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002155/0.008406, allocations: 27.92 kB / 331.5 MB, free: 1.188 MB / 298.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.001363/0.009769, allocations: 0.5787 MB / 332.1 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.884e-05/0.009857, allocations: 40.78 kB / 332.1 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.009862, allocations: 4 kB / 332.1 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.009894, allocations: 20.84 kB / 332.1 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.0101, allocations: 35.92 kB / 332.2 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002728/0.01038, allocations: 223.8 kB / 332.4 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.471e-05/0.01041, allocations: 71.33 kB / 332.5 MB, free: 480 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.201e-05/0.01044, allocations: 17.27 kB / 332.5 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.0105, allocations: 63.38 kB / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.0105, allocations: 0 / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of Templates: time 0.003194/0.01369, allocations: 2.008 MB / 334.5 MB, free: 14.41 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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: 2.915771474596113]