Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001221/0.001221, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001784/0.001784, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 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.005/1.005, allocations: 177 MB / 205.1 MB, free: 5.48 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.2971/0.2971, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 379.3 MB, free: 1.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.635e-05, allocations: 2.312 kB / 379.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002117/0.002134, allocations: 1.775 MB / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.003343, allocations: 1.008 MB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.503e-05/0.003418, allocations: 0 / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.003692, allocations: 83.64 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.003955, allocations: 123.4 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.004121, allocations: 83.55 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.004269, allocations: 123.7 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.237e-05/0.004352, allocations: 4 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.703e-05/0.004439, allocations: 79.75 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.499e-05/0.004524, allocations: 51.88 kB / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.004537, allocations: 4 kB / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.341e-05/0.00462, allocations: 63.89 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.004662, allocations: 27.86 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.004695, allocations: 23.92 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.004843, allocations: 111.6 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004845, allocations: 4 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.2e-07/0.004846, allocations: 0 / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.004849, allocations: 0 / 382.9 MB, free: 14.15 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003824/0.005231, allocations: 475.6 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.005264, allocations: 8.031 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.005296, allocations: 16.84 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.005425, allocations: 164.3 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.005439, allocations: 384 / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.005455, allocations: 8.375 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.218e-05/0.005547, allocations: 58.94 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.005555, allocations: 192 / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.005562, allocations: 4.375 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.005569, allocations: 7.875 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.508e-05/0.005594, allocations: 15.92 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.005821, allocations: 272.4 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.005941, allocations: 51.03 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.005969, allocations: 27.73 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.005981, allocations: 0 / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.685e-05/0.006058, allocations: 64.98 kB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.006059, allocations: 0 / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004029/0.006462, allocations: 193.3 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.006488, allocations: 59.41 kB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.006608, allocations: 242.6 kB / 384.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.00662, allocations: 25.7 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.006676, allocations: 166.8 kB / 384.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.0067, allocations: 27.75 kB / 384.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.006732, allocations: 35.34 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.006841, allocations: 0.504 MB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.00686, allocations: 19.92 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.006889, allocations: 35.36 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/0.006943, allocations: 59.28 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.006945, allocations: 4 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001007/0.007045, allocations: 113.5 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.007055, allocations: 4 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.007058, allocations: 0 / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.007069, allocations: 4 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.007116, allocations: 19.98 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.007119, allocations: 4.641 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.542e-05/0.007145, allocations: 4 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.00715, allocations: 0 / 385.5 MB, free: 11.28 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 (13): * Single equations (assignments): 13 * 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.244e-05/0.007222, allocations: 171 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.007242, allocations: 23.84 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.007381, allocations: 127 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007382, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.007384, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007387, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.007658, allocations: 413.1 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.00766, allocations: 0 / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.007689, allocations: 19.92 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.007692, allocations: 8.062 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.007697, allocations: 0 / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.0077, allocations: 4 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.007701, allocations: 0 / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.007835, allocations: 283 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.637e-05/0.007851, allocations: 15.84 kB / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.007867, allocations: 8 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.943e-05/0.007906, allocations: 4 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.007929, allocations: 7.984 kB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.00794, allocations: 11.98 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.158e-05/0.008002, allocations: 173 kB / 386.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008002, allocations: 0 / 386.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.00817, allocations: 39.86 kB / 386.8 MB, free: 9.914 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 (12): * Single equations (assignments): 10 * 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.0008965/0.009067, allocations: 464.9 kB / 387.3 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.564e-05/0.009163, allocations: 63.53 kB / 387.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.009164, allocations: 4 kB / 387.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.0092, allocations: 35.61 kB / 387.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.009406, allocations: 30.56 kB / 387.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.0097, allocations: 280.4 kB / 387.7 MB, free: 9.156 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.947e-05/0.009739, allocations: 71.33 kB / 387.7 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.024e-05/0.009779, allocations: 12.84 kB / 387.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.009857, allocations: 102.2 kB / 387.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of SimCode: time 4.6e-07/0.009857, allocations: 0 / 387.8 MB, free: 8.953 MB / 362.7 MB Notification: Performance of Templates: time 0.003564/0.01342, allocations: 2.313 MB / 390.2 MB, free: 6.676 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.0204460727982223]