Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.002024/0.002024, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.00268/0.00268, 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.637/1.637, allocations: 177 MB / 204.5 MB, free: 5.605 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.4009/0.4009, allocations: 34.25 MB / 295.2 MB, free: 0.6406 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.384e-05, allocations: 4.141 kB / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003461/0.003495, allocations: 1.735 MB / 379 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.005548, allocations: 0.9992 MB / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.365e-05/0.005642, allocations: 0 / 380 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.006056, allocations: 51.75 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.006423, allocations: 99.41 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.006654, allocations: 71.69 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.006891, allocations: 115.5 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.006994, allocations: 4 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.007121, allocations: 51.89 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.007222, allocations: 31.84 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.007247, allocations: 4 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.007369, allocations: 51.86 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.928e-05/0.007448, allocations: 23.91 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.007495, allocations: 15.94 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.007759, allocations: 115.6 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.007762, allocations: 0 / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.007763, allocations: 0 / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.007771, allocations: 7.938 kB / 380.7 MB, free: 15.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008712/0.008643, allocations: 447.6 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.008687, allocations: 8.031 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.008753, allocations: 16.84 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.009024, allocations: 157.1 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.009038, allocations: 4.375 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.009061, allocations: 4.375 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.009208, allocations: 50.23 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.009221, allocations: 192 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.009234, allocations: 4.375 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.009241, allocations: 3.938 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.964e-05/0.009321, allocations: 15.98 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.009807, allocations: 307.7 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.009994, allocations: 55.17 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.491e-05/0.01006, allocations: 27.67 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.01008, allocations: 4 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.01024, allocations: 76.98 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.01024, allocations: 3.938 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006119/0.01085, allocations: 165.5 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.01091, allocations: 59.34 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.01118, allocations: 246.4 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.01121, allocations: 33.7 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.01133, allocations: 158.8 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.01137, allocations: 27.78 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/0.01143, allocations: 39.36 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002906/0.01172, allocations: 0.5 MB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.597e-05/0.01178, allocations: 16 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.303e-05/0.01186, allocations: 43.36 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.012, allocations: 67.3 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.012, allocations: 0 / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002117/0.01221, allocations: 102 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.01223, allocations: 4 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01223, allocations: 0 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.01225, allocations: 4 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.01236, allocations: 31.95 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.01236, allocations: 160 / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.926e-05/0.01242, allocations: 4 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.01243, allocations: 0 / 383.3 MB, free: 12.55 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.0001496/0.01258, allocations: 168.6 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.01262, allocations: 19.84 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.0129, allocations: 127 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.0129, allocations: 0 / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.0129, allocations: 0 / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01291, allocations: 0 / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.01348, allocations: 420.9 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01348, allocations: 0 / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.01352, allocations: 11.98 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.01353, allocations: 4 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.01354, allocations: 4 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01354, allocations: 0 / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.01355, allocations: 3.938 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.01389, allocations: 263.5 kB / 384.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.01392, allocations: 15.89 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.01394, allocations: 7.938 kB / 384.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.01401, allocations: 8.031 kB / 384.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.01405, allocations: 7.984 kB / 384.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.01408, allocations: 8 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.01423, allocations: 171.2 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01423, allocations: 0 / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000274/0.01451, allocations: 31.92 kB / 384.5 MB, free: 11.22 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.003416/0.01792, allocations: 485.5 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.01816, allocations: 75.53 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.01816, allocations: 0 / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.01827, allocations: 39.61 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.01864, allocations: 27.98 kB / 385.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.0192, allocations: 226 kB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.01933, allocations: 100.4 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.484e-05/0.01939, allocations: 17.28 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.01944, allocations: 20.48 kB / 385.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01944, allocations: 0 / 385.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of Templates: time 0.005897/0.02533, allocations: 1.87 MB / 387.4 MB, free: 8.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.144558664993383]