Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002009/0.003304, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001517/0.002755, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.024/1.024, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08307/1.107, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2467/0.2467, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02371/0.2704, allocations: 13.23 MB / 292.6 MB, free: 6.461 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 293.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.358e-05, allocations: 9.312 kB / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.001795/0.001809, allocations: 1.756 MB / 295.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.002939, allocations: 1.013 MB / 296.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.003001, allocations: 0 / 296.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.003168, allocations: 55.61 kB / 296.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.003363, allocations: 99.53 kB / 296.9 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.003494, allocations: 71.67 kB / 296.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.00365, allocations: 111.6 kB / 297.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.003684, allocations: 8.234 kB / 297.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.0038, allocations: 79.8 kB / 297.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.003885, allocations: 31.91 kB / 297.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.003905, allocations: 4 kB / 297.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.00398, allocations: 35.88 kB / 297.2 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.004024, allocations: 19.92 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/0.004055, allocations: 11.94 kB / 297.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.004188, allocations: 87.67 kB / 297.3 MB, free: 1.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.716e-05/0.004205, allocations: 0 / 297.3 MB, free: 1.707 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.004206, allocations: 0 / 297.3 MB, free: 1.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.004222, allocations: 0 / 297.3 MB, free: 1.707 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004301/0.004652, allocations: 321.2 kB / 297.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.004686, allocations: 12.92 kB / 297.7 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.004716, allocations: 8.922 kB / 297.7 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.004876, allocations: 145.5 kB / 297.8 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.004892, allocations: 4.312 kB / 297.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.004902, allocations: 4.375 kB / 297.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.005008, allocations: 57.77 kB / 297.9 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.005016, allocations: 192 / 297.9 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.005023, allocations: 384 / 297.9 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.00503, allocations: 7.922 kB / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.656e-05/0.005056, allocations: 8 kB / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.157e-05/0.005148, allocations: 70.69 kB / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.151e-05/0.005229, allocations: 41.42 kB / 298 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.005249, allocations: 12.8 kB / 298 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.005261, allocations: 0 / 298 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.104e-05/0.005352, allocations: 66.22 kB / 298.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 5.92e-07/0.005352, allocations: 0 / 298.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001121/0.005464, allocations: 53.67 kB / 298.1 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.0055, allocations: 63.34 kB / 298.2 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.005594, allocations: 172.9 kB / 298.4 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.005607, allocations: 25.7 kB / 298.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.005633, allocations: 100.1 kB / 298.5 MB, free: 424 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.005657, allocations: 11.91 kB / 298.5 MB, free: 412 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.005685, allocations: 17.72 kB / 298.5 MB, free: 388 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.005759, allocations: 326.8 kB / 298.8 MB, free: 52 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.005772, allocations: 10.81 kB / 298.8 MB, free: 40 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.005789, allocations: 17.72 kB / 298.9 MB, free: 16 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.005843, allocations: 39.34 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.005845, allocations: 0 / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.237e-05/0.005907, allocations: 64.44 kB / 299 MB, free: 15.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.005918, allocations: 4 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.005922, allocations: 0 / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.005931, allocations: 4 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.005986, allocations: 8 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.005989, allocations: 3.938 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.006018, allocations: 15.86 kB / 299 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.006022, allocations: 0 / 299 MB, free: 15.86 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 (7): * Single equations (assignments): 7 * 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 5.83e-05/0.006081, allocations: 120.7 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-06/0.00609, allocations: 7.938 kB / 299.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.019e-05/0.00617, allocations: 62.98 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.006172, allocations: 0 / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006173, allocations: 0 / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.006178, allocations: 3.938 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.353e-05/0.006252, allocations: 86.19 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.006253, allocations: 0 / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.006272, allocations: 15.94 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.006282, allocations: 3.953 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.006284, allocations: 4 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.00629, allocations: 8 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.00629, allocations: 0 / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.006292, allocations: 3.984 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.462e-05/0.006357, allocations: 86.69 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.00637, allocations: 4 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.006388, allocations: 7.984 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.006411, allocations: 4 kB / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.006421, allocations: 0 / 299.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.551e-05/0.006456, allocations: 44.34 kB / 299.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006456, allocations: 0 / 299.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001153/0.006571, allocations: 27.94 kB / 299.5 MB, free: 15.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001196/0.007768, allocations: 0.536 MB / 300 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.25e-05/0.00785, allocations: 36.78 kB / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.007858, allocations: 0 / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.597e-05/0.007884, allocations: 24.78 kB / 300.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.008014, allocations: 27.98 kB / 300.1 MB, free: 14.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.008401, allocations: 195.7 kB / 300.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.008432, allocations: 67.33 kB / 300.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.859e-05/0.00846, allocations: 4.5 kB / 300.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.013e-05/0.008521, allocations: 71.3 kB / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.008521, allocations: 0 / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of Templates: time 0.003116/0.01164, allocations: 1.807 MB / 302.2 MB, free: 12.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.9347474053502083]