Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.001051/0.001051, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001554/0.001554, allocations: 160.5 kB / 24.55 MB, free: 16 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.026/1.026, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.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.2838/0.2838, allocations: 34.86 MB / 296.3 MB, free: 500 kB / 266.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 378.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.492e-05/2.721e-05, allocations: 3.016 kB / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002305/0.002332, allocations: 1.78 MB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.003543, allocations: 1.024 MB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.726e-05/0.00361, allocations: 0 / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.003875, allocations: 47.69 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.004155, allocations: 103.5 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.004303, allocations: 83.59 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.004467, allocations: 135.7 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.525e-05/0.004553, allocations: 11.94 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.004637, allocations: 67.81 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.309e-05/0.00472, allocations: 47.83 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.004736, allocations: 4 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.886e-05/0.004825, allocations: 67.89 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.004878, allocations: 23.92 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.004922, allocations: 31.91 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.005108, allocations: 127.5 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.005111, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005112, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.005116, allocations: 4 kB / 382.4 MB, free: 14.41 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004435/0.00556, allocations: 467.7 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.005596, allocations: 11.97 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.005643, allocations: 20.84 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.005805, allocations: 160.9 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.005823, allocations: 8.359 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.005846, allocations: 4.375 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.005972, allocations: 82.84 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.00598, allocations: 192 / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.005991, allocations: 384 / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.005998, allocations: 7.938 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.444e-05/0.006062, allocations: 31.97 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.006393, allocations: 319.6 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.006587, allocations: 75.03 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.006625, allocations: 19.67 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.006639, allocations: 4 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.006744, allocations: 81.02 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.006745, allocations: 0 / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005995/0.007345, allocations: 269.1 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.00738, allocations: 55.39 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.007526, allocations: 233.9 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.00754, allocations: 25.7 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.007604, allocations: 151.1 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.007641, allocations: 47.64 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.00768, allocations: 35.36 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.007808, allocations: 0.4962 MB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.716e-05/0.007845, allocations: 23.98 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.991e-05/0.007895, allocations: 51.28 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.596e-05/0.007981, allocations: 77.56 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.007982, allocations: 3.938 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001531/0.008135, allocations: 129.5 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.008149, allocations: 8 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.008155, allocations: 0 / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.008169, allocations: 0 / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.008234, allocations: 31.92 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.008239, allocations: 0 / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.008267, allocations: 7.984 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.008275, allocations: 8.031 kB / 385.3 MB, free: 11.29 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 (15): * Single equations (assignments): 15 * 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 7.589e-05/0.008351, allocations: 168.5 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.00837, allocations: 15.91 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.008581, allocations: 165.3 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.008583, allocations: 0 / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.008586, allocations: 0 / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.00859, allocations: 0 / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.008968, allocations: 484 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.008971, allocations: 4.062 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.009017, allocations: 31.92 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.009018, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.009029, allocations: 4 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.009031, allocations: 0 / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.009033, allocations: 7.984 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.009226, allocations: 307.1 kB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.38e-05/0.009239, allocations: 15.89 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.00926, allocations: 11.94 kB / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.148e-05/0.009301, allocations: 0 / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.009339, allocations: 19.91 kB / 386.5 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.009354, allocations: 12 kB / 386.5 MB, free: 9.977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.047e-05/0.009434, allocations: 176.2 kB / 386.7 MB, free: 9.805 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009434, allocations: 0 / 386.7 MB, free: 9.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.009613, allocations: 43.86 kB / 386.7 MB, free: 9.762 MB / 362.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.001001/0.01061, allocations: 486.8 kB / 387.2 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.01076, allocations: 83.58 kB / 387.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01076, allocations: 0 / 387.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.625e-05/0.01081, allocations: 51.11 kB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.01105, allocations: 35.91 kB / 387.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.01142, allocations: 278.1 kB / 387.6 MB, free: 8.949 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.325e-05/0.01146, allocations: 72.02 kB / 387.7 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.545e-05/0.01151, allocations: 29.47 kB / 387.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.01155, allocations: 28.48 kB / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01155, allocations: 0 / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of Templates: time 0.003786/0.01534, allocations: 2.38 MB / 390.2 MB, free: 6.457 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.3120432500727475]