Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001073/0.001073, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001201/0.001201, allocations: 166 kB / 24.82 MB, free: 9.266 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.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2787/0.2787, allocations: 34.26 MB / 296.1 MB, free: 0.668 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 378.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.84e-05, allocations: 5.547 kB / 378.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002822/0.00285, allocations: 1.918 MB / 380.5 MB, free: 348 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004825/0.007675, allocations: 1.099 MB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.007833, allocations: 0 / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.008337, allocations: 223.2 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005823/0.00892, allocations: 223 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.009261, allocations: 119.6 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003882/0.009649, allocations: 263.2 kB / 382.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.009776, allocations: 17.95 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.009995, allocations: 151.6 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.01019, allocations: 151.6 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.01021, allocations: 8 kB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.01337, allocations: 71.89 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.87e-05/0.01345, allocations: 55.78 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.347e-05/0.01353, allocations: 47.78 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.01385, allocations: 203.1 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.01385, allocations: 8 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01385, allocations: 0 / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.01386, allocations: 0 / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006645/0.01452, allocations: 0.6078 MB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.01457, allocations: 8.031 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.01463, allocations: 36.75 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.01489, allocations: 220.6 kB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.01492, allocations: 8.375 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.01494, allocations: 4.375 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.01514, allocations: 110.2 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.01516, allocations: 19.88 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.01517, allocations: 4 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.01518, allocations: 0 / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.445e-05/0.01523, allocations: 27.95 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.01577, allocations: 467.1 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.01605, allocations: 121.9 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.01611, allocations: 39.59 kB / 384.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.01613, allocations: 4 kB / 384.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003194/0.01932, allocations: 112.4 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.814e-06/0.01932, allocations: 0 / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.000854/0.02018, allocations: 366.1 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.02022, allocations: 81.11 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.02079, allocations: 398 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.02082, allocations: 29.7 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.02094, allocations: 227.2 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.02101, allocations: 75.39 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.02108, allocations: 51.34 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.02125, allocations: 0.5235 MB / 386.6 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.154e-05/0.02131, allocations: 27.97 kB / 386.6 MB, free: 9.961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.02138, allocations: 70.64 kB / 386.7 MB, free: 9.875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.02151, allocations: 118.8 kB / 386.8 MB, free: 9.742 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.02152, allocations: 0 / 386.8 MB, free: 9.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000255/0.02177, allocations: 185.3 kB / 387 MB, free: 9.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.02179, allocations: 10.03 kB / 387 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.02179, allocations: 0 / 387 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.02181, allocations: 8 kB / 387 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.02193, allocations: 47.91 kB / 387.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.02194, allocations: 4 kB / 387.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.02201, allocations: 11.94 kB / 387.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.02202, allocations: 4 kB / 387.1 MB, free: 9.473 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.003138/0.02515, allocations: 172.5 kB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.02521, allocations: 39.88 kB / 387.3 MB, free: 9.254 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/0.02554, allocations: 224.5 kB / 387.5 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.02555, allocations: 0 / 387.5 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.02555, allocations: 7.938 kB / 387.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.02556, allocations: 3.938 kB / 387.5 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006704/0.02623, allocations: 0.687 MB / 388.2 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.02623, allocations: 0 / 388.2 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.996e-05/0.02631, allocations: 35.92 kB / 388.3 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.02632, allocations: 8.062 kB / 388.3 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.02633, allocations: 15.98 kB / 388.3 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.02633, allocations: 0 / 388.3 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.02634, allocations: 4 kB / 388.3 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.0267, allocations: 0.4896 MB / 388.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.02673, allocations: 31.75 kB / 388.8 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.02677, allocations: 11.98 kB / 388.8 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.02689, allocations: 8 kB / 388.8 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.02693, allocations: 27.89 kB / 388.8 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.02695, allocations: 8 kB / 388.9 MB, free: 7.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000178/0.02713, allocations: 258.9 kB / 389.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02713, allocations: 0 / 389.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003546/0.02749, allocations: 51.94 kB / 389.2 MB, free: 7.301 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.00428/0.03177, allocations: 0.4902 MB / 389.7 MB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002233/0.03199, allocations: 118.2 kB / 389.8 MB, free: 6.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.03199, allocations: 3.938 kB / 389.8 MB, free: 6.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/0.03208, allocations: 67.52 kB / 389.8 MB, free: 6.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.03256, allocations: 68.83 kB / 389.9 MB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.0333, allocations: 0.4976 MB / 390.4 MB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.489e-05/0.03339, allocations: 104.3 kB / 390.5 MB, free: 6.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.742e-05/0.03349, allocations: 37.91 kB / 390.5 MB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.03362, allocations: 118.2 kB / 390.7 MB, free: 5.918 MB / 362.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03362, allocations: 0 / 390.7 MB, free: 5.918 MB / 362.7 MB Notification: Performance of Templates: time 0.0173/0.05092, allocations: 3.678 MB / 394.3 MB, free: 2.301 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.2204408748075366]