Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001385/0.001385, 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.001455/0.001455, allocations: 170.3 kB / 24.91 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.9681/0.9681, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2483/0.2483, allocations: 34.25 MB / 296.1 MB, free: 0.6914 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.193e-05, allocations: 7.297 kB / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002283/0.002305, allocations: 1.794 MB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.00363, allocations: 1.018 MB / 328.2 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.003703, allocations: 0 / 328.2 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.004013, allocations: 103.6 kB / 328.3 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.004311, allocations: 135.4 kB / 328.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.004514, allocations: 87.53 kB / 328.5 MB, free: 4.469 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.004694, allocations: 147.5 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.053e-05/0.004784, allocations: 10.23 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.004899, allocations: 79.8 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.005, allocations: 59.86 kB / 328.8 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.005016, allocations: 4 kB / 328.8 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.005112, allocations: 59.92 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.005164, allocations: 35.84 kB / 328.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.005202, allocations: 28.42 kB / 328.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.005385, allocations: 135.4 kB / 329 MB, free: 3.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.005388, allocations: 4 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005389, allocations: 0 / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.005392, allocations: 0 / 329 MB, free: 3.914 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000364/0.005756, allocations: 365.2 kB / 329.4 MB, free: 3.535 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.005784, allocations: 12.03 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.005817, allocations: 12.92 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.005973, allocations: 166.4 kB / 329.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.005988, allocations: 8.375 kB / 329.6 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.006006, allocations: 4.375 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.006111, allocations: 75.06 kB / 329.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.006119, allocations: 7.938 kB / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.006126, allocations: 0 / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.006131, allocations: 0 / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.377e-05/0.006165, allocations: 19.98 kB / 329.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.006378, allocations: 193.8 kB / 329.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.006516, allocations: 97.27 kB / 330 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/0.006537, allocations: 24.86 kB / 330 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.006547, allocations: 4.047 kB / 330 MB, free: 2.855 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.294e-05/0.00663, allocations: 82.08 kB / 330.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.006631, allocations: 0 / 330.1 MB, free: 2.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004094/0.007041, allocations: 206.2 kB / 330.3 MB, free: 2.555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.007069, allocations: 51.41 kB / 330.3 MB, free: 2.492 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.007184, allocations: 209.1 kB / 330.5 MB, free: 2.273 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.0072, allocations: 33.7 kB / 330.6 MB, free: 2.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.007233, allocations: 104 kB / 330.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.007265, allocations: 51.56 kB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.0073, allocations: 33.69 kB / 330.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.1e-05/0.007371, allocations: 330.7 kB / 331.1 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.007394, allocations: 22.81 kB / 331.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.998e-05/0.007424, allocations: 33.69 kB / 331.1 MB, free: 1.645 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.007481, allocations: 65.69 kB / 331.2 MB, free: 1.574 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.007483, allocations: 4 kB / 331.2 MB, free: 1.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.12e-05/0.007574, allocations: 93.84 kB / 331.3 MB, free: 1.473 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.007584, allocations: 4 kB / 331.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.007588, allocations: 0 / 331.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.007599, allocations: 4 kB / 331.3 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.007657, allocations: 27.92 kB / 331.3 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.007659, allocations: 4.031 kB / 331.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.007684, allocations: 4 kB / 331.3 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.007691, allocations: 4 kB / 331.3 MB, free: 1.426 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 (16): * Single equations (assignments): 16 * 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.451e-05/0.007755, allocations: 124.6 kB / 331.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.007774, allocations: 8 kB / 331.5 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.007907, allocations: 123 kB / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007909, allocations: 0 / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.00791, allocations: 0 / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.007914, allocations: 4 kB / 331.6 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.008174, allocations: 356.2 kB / 331.9 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.008176, allocations: 3.938 kB / 331.9 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.008215, allocations: 27.98 kB / 332 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.008217, allocations: 0 / 332 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.008224, allocations: 4 kB / 332 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.008226, allocations: 0 / 332 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.008227, allocations: 3.938 kB / 332 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.00835, allocations: 251.5 kB / 332.2 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.008363, allocations: 15.91 kB / 332.2 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.008382, allocations: 12.06 kB / 332.3 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.008425, allocations: 11.92 kB / 332.3 MB, free: 436 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.008448, allocations: 7.984 kB / 332.3 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.00846, allocations: 8 kB / 332.3 MB, free: 420 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.215e-05/0.008512, allocations: 73.91 kB / 332.3 MB, free: 344 kB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008512, allocations: 0 / 332.3 MB, free: 344 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001565/0.008669, allocations: 35.94 kB / 332.4 MB, free: 308 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001405/0.01007, allocations: 0.6527 MB / 333 MB, free: 15.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.01018, allocations: 68.67 kB / 333.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.01018, allocations: 0 / 333.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.253e-05/0.01023, allocations: 48.75 kB / 333.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.0104, allocations: 35.92 kB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.01074, allocations: 296.7 kB / 333.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.115e-05/0.01078, allocations: 75.83 kB / 333.6 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.698e-05/0.01083, allocations: 29.66 kB / 333.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.0109, allocations: 79.34 kB / 333.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0109, allocations: 0 / 333.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of Templates: time 0.00377/0.01467, allocations: 2.567 MB / 336.2 MB, free: 12.78 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.938247584272176]