Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.00196/0.00196, allocations: 81.23 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.002002/0.002002, allocations: 159.4 kB / 24.5 MB, free: 3.719 MB / 14.72 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.534/1.534, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.1 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.2359/0.2359, allocations: 34.26 MB / 295.4 MB, free: 14.47 MB / 286.1 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 75.88 kB / 443.2 MB, free: 6.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3246, allocations: 66.06 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002706/0.3273, allocations: 1.803 MB / 0.4991 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.3288, allocations: 1.045 MB / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.3289, allocations: 0 / 0.5001 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.3293, allocations: 304.2 kB / 0.5004 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.3297, allocations: 261.6 kB / 0.5006 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.3299, allocations: 111.9 kB / 0.5008 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.3301, allocations: 268.5 kB / 0.501 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.911e-05/0.3302, allocations: 8.156 kB / 0.501 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.3303, allocations: 128.7 kB / 0.5011 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.3305, allocations: 222.1 kB / 0.5014 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.3305, allocations: 6.531 kB / 0.5014 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.24e-05/0.3306, allocations: 47.44 kB / 0.5014 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.3307, allocations: 145.8 kB / 0.5015 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.731e-05/0.3308, allocations: 109.9 kB / 0.5016 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.3312, allocations: 385.4 kB / 0.502 GB, free: 27.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3312, allocations: 0 / 0.502 GB, free: 27.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3312, allocations: 0 / 0.502 GB, free: 27.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.3312, allocations: 4 kB / 0.502 GB, free: 27.25 MB / 446.1 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.0008399/0.332, allocations: 0.6828 MB / 0.5027 GB, free: 26.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.332, allocations: 9.344 kB / 0.5027 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.3321, allocations: 50.14 kB / 0.5027 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.3327, allocations: 393.3 kB / 0.5031 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.3327, allocations: 11.83 kB / 0.5031 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.3327, allocations: 3.375 kB / 0.5031 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.333, allocations: 92.61 kB / 0.5032 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.333, allocations: 4 kB / 0.5032 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.333, allocations: 0 / 0.5032 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.333, allocations: 3.062 kB / 0.5032 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.3331, allocations: 37.25 kB / 0.5033 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.3335, allocations: 313.8 kB / 0.5036 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.3338, allocations: 103.4 kB / 0.5037 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.275e-05/0.3339, allocations: 40.47 kB / 0.5037 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3339, allocations: 4 kB / 0.5037 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/0.3342, allocations: 113.3 kB / 0.5038 GB, free: 25.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.3342, allocations: 3.938 kB / 0.5038 GB, free: 25.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005104/0.3347, allocations: 213 kB / 0.504 GB, free: 25.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.3347, allocations: 79.48 kB / 0.5041 GB, free: 25.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.3358, allocations: 1.06 MB / 0.5051 GB, free: 25.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3358, allocations: 25.7 kB / 0.5052 GB, free: 25.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.336, allocations: 242.3 kB / 0.5054 GB, free: 25.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.336, allocations: 34.19 kB / 0.5054 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.3361, allocations: 27 kB / 0.5054 GB, free: 25.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3362, allocations: 370.4 kB / 0.5058 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/0.3363, allocations: 36.2 kB / 0.5058 GB, free: 24.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.918e-05/0.3363, allocations: 60.06 kB / 0.5059 GB, free: 24.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3365, allocations: 93.34 kB / 0.506 GB, free: 24.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3365, allocations: 3.344 kB / 0.506 GB, free: 24.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000265/0.3368, allocations: 174.5 kB / 0.5061 GB, free: 24.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.3368, allocations: 13.03 kB / 0.5062 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.3368, allocations: 0 / 0.5062 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.3368, allocations: 2.875 kB / 0.5062 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.337, allocations: 26.22 kB / 0.5062 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.337, allocations: 3.188 kB / 0.5062 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.656e-05/0.3371, allocations: 10.06 kB / 0.5062 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3371, allocations: 6.391 kB / 0.5062 GB, free: 24.57 MB / 446.1 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 0.0001973/0.3373, allocations: 225 kB / 0.5064 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.3373, allocations: 60.62 kB / 0.5065 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.3377, allocations: 202.1 kB / 0.5067 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3377, allocations: 11.03 kB / 0.5067 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3377, allocations: 4.062 kB / 0.5067 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3377, allocations: 3.188 kB / 0.5067 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.338, allocations: 267.2 kB / 0.5069 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.338, allocations: 3.062 kB / 0.5069 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.311e-05/0.338, allocations: 12.25 kB / 0.507 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.338, allocations: 0 / 0.507 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.338, allocations: 6.938 kB / 0.507 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.338, allocations: 4 kB / 0.507 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.338, allocations: 0 / 0.507 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.3383, allocations: 224.3 kB / 0.5072 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.87e-05/0.3384, allocations: 70.77 kB / 0.5073 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.474e-05/0.3385, allocations: 6.938 kB / 0.5073 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.019e-05/0.3386, allocations: 10.22 kB / 0.5073 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.3386, allocations: 6 kB / 0.5073 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.3386, allocations: 9.641 kB / 0.5073 GB, free: 23.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000618/0.3393, allocations: 0.7864 MB / 0.508 GB, free: 23.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3393, allocations: 7 kB / 0.5081 GB, free: 23.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.3395, allocations: 48.31 kB / 0.5081 GB, free: 23.65 MB / 446.1 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.001611/0.3411, allocations: 429.7 kB / 0.5085 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.3414, allocations: 86.66 kB / 0.5086 GB, free: 23.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3414, allocations: 0 / 0.5086 GB, free: 23.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.3415, allocations: 38.83 kB / 0.5086 GB, free: 23.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.3419, allocations: 79.8 kB / 0.5087 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.343, allocations: 0.8975 MB / 0.5096 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.3433, allocations: 244.9 kB / 0.5098 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.3434, allocations: 52.45 kB / 0.5099 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.3435, allocations: 35.44 kB / 0.5099 GB, free: 22.84 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3435, allocations: 0 / 0.5099 GB, free: 22.84 MB / 446.1 MB Notification: Performance of Templates: time 0.009457/0.353, allocations: 4.03 MB / 0.5138 GB, free: 22.28 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.121772476937622]