Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.002747/0.002747, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.003202/0.003202, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.599/1.599, allocations: 177 MB / 204.5 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 178] 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.391/0.391, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 377.3 MB, free: 2.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.131e-05, allocations: 2.312 kB / 377.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.00359/0.003622, allocations: 1.737 MB / 379 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.005601, allocations: 1.005 MB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.806e-05/0.005669, allocations: 4 kB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.006057, allocations: 83.58 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.006432, allocations: 115.5 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.006676, allocations: 79.66 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.006915, allocations: 119.6 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.007028, allocations: 15.91 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.007171, allocations: 55.89 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.007305, allocations: 63.8 kB / 380.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.007328, allocations: 8 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.007438, allocations: 43.92 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.546e-05/0.007504, allocations: 27.91 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.007552, allocations: 15.94 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.007794, allocations: 127.5 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007798, allocations: 0 / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.007799, allocations: 4 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.007803, allocations: 0 / 380.8 MB, free: 15.34 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006604/0.008464, allocations: 455.5 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.0085, allocations: 12.03 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.767e-05/0.008558, allocations: 16.84 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.008833, allocations: 160.4 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.008847, allocations: 384 / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.008881, allocations: 8.359 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.00904, allocations: 54.23 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.009054, allocations: 192 / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.009064, allocations: 384 / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.009071, allocations: 3.938 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.741e-05/0.009149, allocations: 23.92 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.009611, allocations: 299.7 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.009807, allocations: 71.16 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.66e-05/0.009874, allocations: 19.69 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.009895, allocations: 4 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.01006, allocations: 76.91 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.01006, allocations: 0 / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006009/0.01066, allocations: 181.3 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.01072, allocations: 55.34 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.01101, allocations: 270.6 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.01104, allocations: 29.7 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.01116, allocations: 154.9 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.0112, allocations: 31.78 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.01125, allocations: 31.38 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002901/0.01154, allocations: 0.504 MB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.0116, allocations: 16 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.974e-05/0.01168, allocations: 43.36 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.01182, allocations: 67.3 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.01182, allocations: 0 / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000213/0.01204, allocations: 109.9 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.01205, allocations: 4 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.01206, allocations: 4.031 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.01207, allocations: 4 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.96e-05/0.01217, allocations: 23.92 kB / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.01218, allocations: 160 / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.01222, allocations: 4 kB / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.01223, allocations: 0 / 383.5 MB, free: 12.42 MB / 362.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 0.0001422/0.01237, allocations: 172.6 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.01241, allocations: 19.84 kB / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.01268, allocations: 119 kB / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01269, allocations: 0 / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.01269, allocations: 4 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01269, allocations: 0 / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005598/0.01325, allocations: 428.9 kB / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01325, allocations: 0 / 384.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.0133, allocations: 8 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.0133, allocations: 3.938 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.01331, allocations: 4 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01331, allocations: 0 / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.01331, allocations: 3.938 kB / 384.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.01366, allocations: 271.5 kB / 384.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.01368, allocations: 19.91 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.01371, allocations: 4 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.806e-05/0.01378, allocations: 4 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.01382, allocations: 7.984 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.01384, allocations: 4 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.01402, allocations: 193 kB / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01402, allocations: 0 / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002613/0.01428, allocations: 23.94 kB / 384.7 MB, free: 11.07 MB / 362.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.003382/0.01766, allocations: 489.5 kB / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.0179, allocations: 79.52 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.0179, allocations: 3.938 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.218e-05/0.01799, allocations: 39.61 kB / 385.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.01838, allocations: 31.97 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000799/0.01918, allocations: 244.8 kB / 385.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.01929, allocations: 96.8 kB / 385.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.28e-05/0.01936, allocations: 25.27 kB / 385.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.0194, allocations: 16.5 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0194, allocations: 0 / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Templates: time 0.005832/0.02523, allocations: 1.873 MB / 387.6 MB, free: 8.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.150341622997075]