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.001006/0.001006, 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.001316/0.001316, 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.02/1.02, allocations: 177 MB / 204.8 MB, free: 5.574 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.334/0.334, allocations: 34.87 MB / 296.3 MB, free: 496 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.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.162e-06/1.162e-06, allocations: 0 / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.747e-05, allocations: 3.016 kB / 378.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002094/0.002112, allocations: 1.784 MB / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003315, allocations: 1.012 MB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.925e-05/0.003385, allocations: 4 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.003686, allocations: 87.62 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.00398, allocations: 119.4 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.004174, allocations: 87.53 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.004362, allocations: 123.6 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.004465, allocations: 7.984 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.714e-05/0.004562, allocations: 71.81 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.004674, allocations: 59.8 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.004693, allocations: 8 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.004798, allocations: 55.92 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.232e-05/0.00485, allocations: 23.92 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.004888, allocations: 23.92 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.005062, allocations: 115.6 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.005064, allocations: 0 / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005065, allocations: 0 / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.005069, allocations: 0 / 382.4 MB, free: 14.38 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.0004415/0.005511, allocations: 471.6 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.005546, allocations: 8.031 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.693e-05/0.005593, allocations: 28.78 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.005758, allocations: 160.4 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.005774, allocations: 384 / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.005799, allocations: 8.359 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.005915, allocations: 66.94 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.005924, allocations: 192 / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.005935, allocations: 4.359 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.005944, allocations: 7.938 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.011e-05/0.005984, allocations: 15.92 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.006287, allocations: 295.8 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.006456, allocations: 63.03 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.006485, allocations: 15.81 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.006501, allocations: 7.938 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.187e-05/0.006593, allocations: 68.98 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.006594, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000496/0.00709, allocations: 217.2 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.007121, allocations: 55.41 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.00726, allocations: 242.7 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.007272, allocations: 29.7 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.007332, allocations: 158.9 kB / 384.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.007364, allocations: 39.75 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.007399, allocations: 39.31 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.007518, allocations: 0.4962 MB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.007549, allocations: 23.98 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.856e-05/0.007588, allocations: 43.3 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.875e-05/0.007657, allocations: 63.3 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.007658, allocations: 0 / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001196/0.007777, allocations: 117.6 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.007788, allocations: 4 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.007793, allocations: 0 / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.007808, allocations: 7.984 kB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.036e-05/0.007858, allocations: 16 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.007863, allocations: 3.938 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/0.007896, allocations: 8 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.007904, allocations: 11.92 kB / 385.2 MB, free: 11.4 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.268e-05/0.007976, allocations: 164.5 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.007995, allocations: 15.91 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.008156, allocations: 131.8 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.008159, allocations: 3.984 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.008162, allocations: 4 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.008166, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.008489, allocations: 452.5 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.008491, allocations: 0 / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.008521, allocations: 15.94 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.008523, allocations: 4 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.008531, allocations: 0 / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.008534, allocations: 12.05 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008535, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.008695, allocations: 283.1 kB / 386.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.215e-05/0.008707, allocations: 11.91 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.008725, allocations: 8 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.129e-05/0.008766, allocations: 7.984 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.0088, allocations: 19.86 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.008812, allocations: 4 kB / 386.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.061e-05/0.008893, allocations: 177.1 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008893, allocations: 0 / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001806/0.009073, allocations: 39.92 kB / 386.5 MB, free: 9.98 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.0009218/0.009995, allocations: 471.7 kB / 387 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.01012, allocations: 63.59 kB / 387 MB, free: 9.598 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01012, allocations: 4.062 kB / 387 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.01017, allocations: 43.59 kB / 387.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.01039, allocations: 27.98 kB / 387.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003457/0.01074, allocations: 268.6 kB / 387.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.367e-05/0.01078, allocations: 79.33 kB / 387.4 MB, free: 9.125 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.235e-05/0.01082, allocations: 20.75 kB / 387.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.01086, allocations: 20.5 kB / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01086, allocations: 0 / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of Templates: time 0.003466/0.01432, allocations: 2.12 MB / 389.6 MB, free: 6.996 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.3272777618840337]