Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.001867/0.001867, allocations: 96.25 kB / 20.96 MB, free: 3.602 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.002213/0.002213, allocations: 156.8 kB / 24.26 MB, free: 304 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.544/1.544, allocations: 177 MB / 204.4 MB, free: 5.625 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.365/0.365, allocations: 34.25 MB / 295.2 MB, free: 0.668 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 377.3 MB, free: 2.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.457e-05/3.601e-05, allocations: 7.797 kB / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003706/0.003742, allocations: 1.9 MB / 379.2 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.005944, allocations: 1.016 MB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.006047, allocations: 7.938 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.006393, allocations: 39.66 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.006766, allocations: 103.4 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.007027, allocations: 99.58 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.00731, allocations: 155.5 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.007434, allocations: 13.81 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.007596, allocations: 79.8 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.007717, allocations: 39.83 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.007743, allocations: 4 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.007858, allocations: 47.92 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.98e-05/0.007938, allocations: 31.86 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.939e-05/0.008017, allocations: 31.84 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.008352, allocations: 151.5 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/0.008357, allocations: 4 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.008359, allocations: 4 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.008364, allocations: 0 / 381 MB, free: 15.1 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008697/0.009234, allocations: 411 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.009278, allocations: 8.031 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.892e-05/0.009367, allocations: 24.8 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.00978, allocations: 178.2 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.0098, allocations: 8.312 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.009836, allocations: 12.38 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.01014, allocations: 137 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.01015, allocations: 192 / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.01016, allocations: 384 / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.01018, allocations: 7.938 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.01037, allocations: 55.95 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/0.01109, allocations: 452.6 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/0.0115, allocations: 90.59 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.01162, allocations: 36.84 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.01164, allocations: 0 / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.01189, allocations: 117 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.01189, allocations: 0 / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005091/0.0124, allocations: 149.5 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.01246, allocations: 51.41 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.01271, allocations: 211.6 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.01274, allocations: 33.64 kB / 382.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.01286, allocations: 116 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.01289, allocations: 27.78 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.01295, allocations: 29.67 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.01315, allocations: 330.8 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.01325, allocations: 31.97 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.01338, allocations: 68.27 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.01361, allocations: 96.22 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01361, allocations: 0 / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006104/0.01422, allocations: 145.8 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.01424, allocations: 7.984 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.01425, allocations: 4 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.01427, allocations: 128 / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.01438, allocations: 31.92 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01439, allocations: 0 / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.871e-05/0.01447, allocations: 15.94 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.01448, allocations: 4 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 0.000146/0.01463, allocations: 140.5 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.01466, allocations: 15.91 kB / 384 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.015, allocations: 139 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01501, allocations: 0 / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01501, allocations: 4 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01501, allocations: 0 / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.01521, allocations: 157.2 kB / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01522, allocations: 0 / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.373e-05/0.0153, allocations: 15.98 kB / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.0153, allocations: 0 / 384.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.01532, allocations: 8 kB / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01532, allocations: 0 / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01532, allocations: 0 / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.01577, allocations: 200.8 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.0158, allocations: 15.94 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.01582, allocations: 0 / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.01589, allocations: 15.98 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.01596, allocations: 7.984 kB / 384.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.01597, allocations: 4 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.01614, allocations: 143.2 kB / 384.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01614, allocations: 0 / 384.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.01638, allocations: 27.94 kB / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002013/0.0184, allocations: 432.6 kB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.01867, allocations: 75.89 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.01868, allocations: 4 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.01879, allocations: 39.91 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.01914, allocations: 45.45 kB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006242/0.01976, allocations: 272.2 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.01989, allocations: 106.4 kB / 385.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.971e-05/0.01996, allocations: 13.48 kB / 385.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.02002, allocations: 24.48 kB / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02002, allocations: 0 / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of Templates: time 0.006131/0.02615, allocations: 2.053 MB / 387.7 MB, free: 8.168 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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: 4.831282553030178]