Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.001417/0.001417, allocations: 75.75 kB / 21.25 MB, free: 0.5312 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.001547/0.001547, allocations: 160.9 kB / 24.5 MB, free: 3.703 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.498/1.498, 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.2049/0.2049, allocations: 34.25 MB / 295.4 MB, free: 14.48 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 79.88 kB / 443.2 MB, free: 6.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3659, allocations: 66.06 MB / 0.4973 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002701/0.3686, allocations: 1.806 MB / 0.4991 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.3701, allocations: 1.042 MB / 0.5001 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.3701, allocations: 7.25 kB / 0.5001 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.3706, allocations: 305.6 kB / 0.5004 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004077/0.371, allocations: 258.1 kB / 0.5006 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.3712, allocations: 108.1 kB / 0.5007 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.3714, allocations: 272.8 kB / 0.501 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.3715, allocations: 5.031 kB / 0.501 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.3716, allocations: 123.8 kB / 0.5011 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.3718, allocations: 225.8 kB / 0.5013 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.3719, allocations: 6.5 kB / 0.5013 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.603e-05/0.372, allocations: 54.25 kB / 0.5014 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.3721, allocations: 143.2 kB / 0.5015 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.588e-05/0.3722, allocations: 106.8 kB / 0.5016 GB, free: 27.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.3725, allocations: 388.5 kB / 0.502 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3725, allocations: 0 / 0.502 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3725, allocations: 0 / 0.502 GB, free: 27.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3725, allocations: 0 / 0.502 GB, free: 27.29 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.0008703/0.3734, allocations: 0.6848 MB / 0.5027 GB, free: 26.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3734, allocations: 12.38 kB / 0.5027 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.627e-05/0.3735, allocations: 50.58 kB / 0.5027 GB, free: 26.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.374, allocations: 401.3 kB / 0.5031 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.374, allocations: 384 / 0.5031 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.374, allocations: 2.844 kB / 0.5031 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.3742, allocations: 92.19 kB / 0.5032 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3742, allocations: 0 / 0.5032 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3742, allocations: 4 kB / 0.5032 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3742, allocations: 2.938 kB / 0.5032 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3744, allocations: 36.78 kB / 0.5033 GB, free: 26.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.3746, allocations: 311.1 kB / 0.5036 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.3749, allocations: 112.4 kB / 0.5037 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.375, allocations: 34.11 kB / 0.5037 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.375, allocations: 6.609 kB / 0.5037 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.3752, allocations: 106.4 kB / 0.5038 GB, free: 26.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3752, allocations: 3.938 kB / 0.5038 GB, free: 26.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004389/0.3756, allocations: 213.3 kB / 0.504 GB, free: 25.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.3756, allocations: 84.28 kB / 0.5041 GB, free: 25.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008787/0.3765, allocations: 1.059 MB / 0.5051 GB, free: 25.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.3765, allocations: 28.89 kB / 0.5051 GB, free: 25.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3767, allocations: 237.5 kB / 0.5054 GB, free: 25.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.3767, allocations: 37.17 kB / 0.5054 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.3767, allocations: 23.17 kB / 0.5054 GB, free: 25.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.3768, allocations: 372.4 kB / 0.5058 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.141e-05/0.3769, allocations: 33.44 kB / 0.5058 GB, free: 24.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.161e-05/0.377, allocations: 59.28 kB / 0.5059 GB, free: 24.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.3771, allocations: 100.1 kB / 0.506 GB, free: 24.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3771, allocations: 0 / 0.506 GB, free: 24.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002559/0.3774, allocations: 175.7 kB / 0.5061 GB, free: 24.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3774, allocations: 10.03 kB / 0.5061 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3774, allocations: 3.422 kB / 0.5062 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3774, allocations: 2.969 kB / 0.5062 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3775, allocations: 29.03 kB / 0.5062 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3776, allocations: 4.062 kB / 0.5062 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.26e-05/0.3776, allocations: 9.625 kB / 0.5062 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3777, allocations: 6.906 kB / 0.5062 GB, free: 24.61 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.0001605/0.3778, allocations: 219.5 kB / 0.5064 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.3779, allocations: 59.56 kB / 0.5065 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.3782, allocations: 208.8 kB / 0.5067 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3782, allocations: 3.062 kB / 0.5067 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3782, allocations: 256 / 0.5067 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3782, allocations: 0 / 0.5067 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.3784, allocations: 284 kB / 0.5069 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3784, allocations: 0 / 0.5069 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.3785, allocations: 12.44 kB / 0.507 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3785, allocations: 0 / 0.507 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3785, allocations: 6.938 kB / 0.507 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3785, allocations: 0 / 0.507 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3785, allocations: 3 kB / 0.507 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.3788, allocations: 218.7 kB / 0.5072 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.731e-05/0.3789, allocations: 66.33 kB / 0.5072 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.3789, allocations: 14.88 kB / 0.5072 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.075e-05/0.379, allocations: 7 kB / 0.5073 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.379, allocations: 9.891 kB / 0.5073 GB, free: 23.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.379, allocations: 6.094 kB / 0.5073 GB, free: 23.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006242/0.3797, allocations: 0.7957 MB / 0.508 GB, free: 23.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3797, allocations: 0 / 0.508 GB, free: 23.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.3799, allocations: 51 kB / 0.5081 GB, free: 23.69 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.001595/0.3815, allocations: 424.6 kB / 0.5085 GB, free: 23.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3818, allocations: 87.38 kB / 0.5086 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3818, allocations: 0 / 0.5086 GB, free: 23.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.892e-05/0.3819, allocations: 47.09 kB / 0.5086 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.3823, allocations: 76.94 kB / 0.5087 GB, free: 23.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.3833, allocations: 0.8971 MB / 0.5096 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.3836, allocations: 254.1 kB / 0.5098 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.3837, allocations: 52.53 kB / 0.5099 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.3838, allocations: 27.56 kB / 0.5099 GB, free: 22.88 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3838, allocations: 3.938 kB / 0.5099 GB, free: 22.88 MB / 446.1 MB Notification: Performance of Templates: time 0.009265/0.393, allocations: 4.027 MB / 0.5138 GB, free: 22.32 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.160428589908406]