Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.001025/0.001025, allocations: 80.8 kB / 21.5 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.001098/0.001098, allocations: 168.1 kB / 24.91 MB, free: 9.156 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.9904/0.9904, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2415/0.2415, allocations: 32.8 MB / 294.6 MB, free: 1.176 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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 323.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.309e-05, allocations: 2.312 kB / 323.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002171/0.002184, allocations: 1.751 MB / 325.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.003454, allocations: 1.009 MB / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.003533, allocations: 0 / 326.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.003801, allocations: 39.7 kB / 326.1 MB, free: 6.773 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.004077, allocations: 99.48 kB / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.004246, allocations: 75.66 kB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.004384, allocations: 111.6 kB / 326.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.042e-05/0.004454, allocations: 13.31 kB / 326.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.004536, allocations: 55.83 kB / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/0.004601, allocations: 27.91 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.004615, allocations: 4 kB / 326.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.59e-05/0.004691, allocations: 43.92 kB / 326.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.231e-05/0.004734, allocations: 23.86 kB / 326.6 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.004765, allocations: 19.92 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.004914, allocations: 103.6 kB / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004916, allocations: 0 / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004917, allocations: 0 / 326.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.00492, allocations: 4 kB / 326.7 MB, free: 6.203 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.0003242/0.005244, allocations: 325.3 kB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.005275, allocations: 11.97 kB / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.005303, allocations: 8.938 kB / 327 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.005435, allocations: 143.4 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.005452, allocations: 12.36 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.005469, allocations: 384 / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.604e-05/0.005565, allocations: 69.77 kB / 327.3 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.005576, allocations: 3.938 kB / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.005584, allocations: 0 / 327.3 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.005589, allocations: 4 kB / 327.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.239e-05/0.005612, allocations: 8 kB / 327.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.005785, allocations: 161.9 kB / 327.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.677e-05/0.005872, allocations: 89.34 kB / 327.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.00589, allocations: 16.84 kB / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.005899, allocations: 0 / 327.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.296e-05/0.005972, allocations: 66.16 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 6.61e-07/0.005973, allocations: 0 / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002525/0.006225, allocations: 117.5 kB / 327.7 MB, free: 5.082 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.006256, allocations: 55.41 kB / 327.8 MB, free: 5.016 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.458e-05/0.006351, allocations: 176.7 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.006366, allocations: 33.7 kB / 328 MB, free: 4.789 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.591e-05/0.006392, allocations: 92.11 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.006415, allocations: 27.78 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.006441, allocations: 21.7 kB / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.006511, allocations: 326.8 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.46e-05/0.006526, allocations: 10.83 kB / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.062e-05/0.006547, allocations: 21.7 kB / 328.5 MB, free: 4.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.03e-05/0.006587, allocations: 52.58 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006588, allocations: 3.938 kB / 328.5 MB, free: 4.211 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.546e-05/0.006653, allocations: 68.44 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.006664, allocations: 4 kB / 328.6 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.006669, allocations: 7.938 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.006679, allocations: 0 / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.538e-05/0.006735, allocations: 19.92 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.006738, allocations: 0 / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.006763, allocations: 8 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.006768, allocations: 0 / 328.6 MB, free: 4.098 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.156e-05/0.006829, allocations: 120.7 kB / 328.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.006842, allocations: 15.92 kB / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.893e-05/0.00693, allocations: 79.05 kB / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.006932, allocations: 0 / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.006933, allocations: 384 / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.006936, allocations: 0 / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.007149, allocations: 303.4 kB / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.00715, allocations: 0 / 329.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.007173, allocations: 8 kB / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.007175, allocations: 4.031 kB / 329.1 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.007182, allocations: 7.984 kB / 329.1 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.007183, allocations: 0 / 329.1 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007184, allocations: 0 / 329.1 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.007291, allocations: 219 kB / 329.4 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.007302, allocations: 7.953 kB / 329.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.007316, allocations: 4 kB / 329.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.007354, allocations: 7.984 kB / 329.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.007378, allocations: 7.984 kB / 329.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.007388, allocations: 4 kB / 329.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.843e-05/0.007427, allocations: 47.64 kB / 329.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007427, allocations: 8 kB / 329.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001324/0.007559, allocations: 23.94 kB / 329.5 MB, free: 3.176 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.001364/0.008924, allocations: 0.5724 MB / 330 MB, free: 2.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.009033, allocations: 52.7 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.009037, allocations: 0 / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.009077, allocations: 24.84 kB / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.009311, allocations: 31.91 kB / 330.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.009669, allocations: 219.7 kB / 330.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.894e-05/0.009718, allocations: 63.34 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.607e-05/0.009764, allocations: 21.41 kB / 330.4 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/0.009843, allocations: 71.34 kB / 330.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.009844, allocations: 4 kB / 330.5 MB, free: 2.363 MB / 298.7 MB Notification: Performance of Templates: time 0.003351/0.0132, allocations: 2.021 MB / 332.5 MB, free: 384 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.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.054318589158356]