Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001416/0.001416, 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.001346/0.001346, 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.049/1.049, allocations: 177 MB / 204.8 MB, free: 5.562 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.2902/0.2902, allocations: 34.86 MB / 296.3 MB, free: 480 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 378.8 MB, free: 1.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.268e-05/3.463e-05, allocations: 3.578 kB / 378.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002746/0.00278, allocations: 1.843 MB / 380.7 MB, free: 120 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.004423, allocations: 1.087 MB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.004529, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005269/0.005056, allocations: 303.1 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.005529, allocations: 259 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.005783, allocations: 103.6 kB / 382.4 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.006131, allocations: 275.2 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/0.006183, allocations: 13.78 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.006348, allocations: 151.6 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.006543, allocations: 200.1 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.006566, allocations: 11.94 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.006672, allocations: 47.92 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.006797, allocations: 136.5 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.199e-05/0.006879, allocations: 75.67 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.007191, allocations: 286.9 kB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.007194, allocations: 0 / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007195, allocations: 0 / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.007202, allocations: 0 / 383.6 MB, free: 13.2 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.0008056/0.008007, allocations: 0.7746 MB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.008051, allocations: 12.03 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.877e-05/0.00814, allocations: 56.59 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.00851, allocations: 332.6 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.008534, allocations: 4.375 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.008547, allocations: 8.375 kB / 384.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.008727, allocations: 98.22 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.008736, allocations: 192 / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.008748, allocations: 384 / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.008762, allocations: 3.938 kB / 384.9 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.008809, allocations: 23.92 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003088/0.009118, allocations: 308.2 kB / 385.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.009282, allocations: 98.16 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.009328, allocations: 35.36 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.009342, allocations: 4 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.009488, allocations: 108.3 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.009489, allocations: 0 / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003302/0.009819, allocations: 169.3 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.009865, allocations: 84.98 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.01038, allocations: 0.7018 MB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.0104, allocations: 33.7 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.01055, allocations: 306.8 kB / 386.7 MB, free: 9.836 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.01059, allocations: 19.86 kB / 386.7 MB, free: 9.816 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.01063, allocations: 35.36 kB / 386.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.01081, allocations: 0.5587 MB / 387.3 MB, free: 9.203 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.01085, allocations: 15.98 kB / 387.4 MB, free: 9.188 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.574e-05/0.01089, allocations: 57.48 kB / 387.4 MB, free: 9.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.255e-05/0.01098, allocations: 79.17 kB / 387.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01098, allocations: 0 / 387.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001739/0.01115, allocations: 157.2 kB / 387.6 MB, free: 8.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.01117, allocations: 7.984 kB / 387.7 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.01118, allocations: 4 kB / 387.7 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01119, allocations: 0 / 387.7 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.01128, allocations: 23.88 kB / 387.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.01129, allocations: 4 kB / 387.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.59e-05/0.01135, allocations: 11.92 kB / 387.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.01136, allocations: 4 kB / 387.7 MB, free: 8.809 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.521e-05/0.01145, allocations: 174.1 kB / 387.9 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.01149, allocations: 59.61 kB / 387.9 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.01169, allocations: 161.9 kB / 388.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01169, allocations: 0 / 388.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.0117, allocations: 3.938 kB / 388.1 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.0117, allocations: 7.922 kB / 388.1 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.01192, allocations: 316.4 kB / 388.4 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01192, allocations: 0 / 388.4 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.253e-05/0.01196, allocations: 11.98 kB / 388.4 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.01196, allocations: 4 kB / 388.4 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.01197, allocations: 0 / 388.4 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.01197, allocations: 4 kB / 388.4 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01197, allocations: 4 kB / 388.4 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.01215, allocations: 211.9 kB / 388.6 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.01221, allocations: 67.59 kB / 388.7 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.01224, allocations: 8 kB / 388.7 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.569e-05/0.01228, allocations: 7.984 kB / 388.7 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.01233, allocations: 11.92 kB / 388.7 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.01234, allocations: 12 kB / 388.7 MB, free: 7.688 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003191/0.01266, allocations: 470.8 kB / 389.2 MB, free: 7.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01266, allocations: 0 / 389.2 MB, free: 7.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001912/0.01285, allocations: 51.98 kB / 389.2 MB, free: 7.18 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009214/0.01377, allocations: 385.4 kB / 389.6 MB, free: 6.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.01393, allocations: 71.59 kB / 389.7 MB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01394, allocations: 0 / 389.7 MB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.906e-05/0.01398, allocations: 43.61 kB / 389.7 MB, free: 6.793 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.01427, allocations: 71.67 kB / 389.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007124/0.01499, allocations: 0.6559 MB / 390.5 MB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.316e-05/0.01506, allocations: 128.2 kB / 390.6 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.072e-05/0.01513, allocations: 34.97 kB / 390.6 MB, free: 5.848 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.01518, allocations: 32.48 kB / 390.7 MB, free: 5.816 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01518, allocations: 4 kB / 390.7 MB, free: 5.812 MB / 362.7 MB Notification: Performance of Templates: time 0.007106/0.02229, allocations: 4.248 MB / 394.9 MB, free: 1.605 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.315224837977439]