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.001102/0.001102, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001444/0.001444, allocations: 160.5 kB / 24.55 MB, free: 20 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.03/1.03, allocations: 177 MB / 204.8 MB, free: 5.59 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.282/0.282, allocations: 34.86 MB / 296.3 MB, free: 0.5391 MB / 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.503e-06/1.503e-06, allocations: 0 / 378.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.618e-05, allocations: 7.516 kB / 378.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002622/0.002648, allocations: 1.842 MB / 380.7 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.004089, allocations: 1.095 MB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.685e-05/0.004185, allocations: 0 / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.004647, allocations: 295.1 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004273/0.005074, allocations: 267 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.005291, allocations: 107.6 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002703/0.005562, allocations: 267.2 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.005613, allocations: 9.812 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.005775, allocations: 155.6 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.005946, allocations: 192.1 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.005967, allocations: 8 kB / 383.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.006068, allocations: 51.91 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.006183, allocations: 140.5 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.878e-05/0.006251, allocations: 71.64 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.006539, allocations: 275 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.006542, allocations: 7.938 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006543, allocations: 0 / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.006548, allocations: 0 / 383.6 MB, free: 13.25 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.0006861/0.007234, allocations: 0.7863 MB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.007272, allocations: 8.031 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/0.007346, allocations: 52.61 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.007675, allocations: 332.7 kB / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.007694, allocations: 384 / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.007707, allocations: 4.375 kB / 384.8 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.007868, allocations: 98.3 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.007878, allocations: 8.156 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.007889, allocations: 384 / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.007896, allocations: 3.938 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.587e-05/0.007942, allocations: 19.92 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002722/0.008214, allocations: 308.2 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.008366, allocations: 98.16 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.008411, allocations: 35.36 kB / 385.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.008425, allocations: 4 kB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.008562, allocations: 112.3 kB / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.008563, allocations: 0 / 385.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003209/0.008884, allocations: 177.2 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.008925, allocations: 88.98 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.009411, allocations: 0.7018 MB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.009425, allocations: 25.7 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.00957, allocations: 302.8 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.009609, allocations: 23.84 kB / 386.7 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.009648, allocations: 43.36 kB / 386.8 MB, free: 9.809 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.009805, allocations: 0.5547 MB / 387.3 MB, free: 9.242 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.009839, allocations: 19.98 kB / 387.4 MB, free: 9.223 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/0.009885, allocations: 57.98 kB / 387.4 MB, free: 9.152 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.795e-05/0.009963, allocations: 70.69 kB / 387.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009965, allocations: 0 / 387.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000155/0.01012, allocations: 157.8 kB / 387.6 MB, free: 8.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.01014, allocations: 12.06 kB / 387.6 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01014, allocations: 0 / 387.6 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.01016, allocations: 0 / 387.6 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.01026, allocations: 27.92 kB / 387.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.01027, allocations: 0 / 387.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.675e-05/0.01033, allocations: 19.92 kB / 387.7 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.01034, allocations: 4 kB / 387.7 MB, free: 8.844 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.357e-05/0.01043, allocations: 166 kB / 387.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.01048, allocations: 59.62 kB / 387.9 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.0107, allocations: 169.8 kB / 388.1 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.0107, allocations: 0 / 388.1 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.01071, allocations: 7.938 kB / 388.1 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01071, allocations: 0 / 388.1 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.01092, allocations: 304.5 kB / 388.4 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01092, allocations: 0 / 388.4 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.01096, allocations: 19.98 kB / 388.4 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01096, allocations: 0 / 388.4 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.01097, allocations: 0 / 388.4 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01097, allocations: 4 kB / 388.4 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01097, allocations: 0 / 388.4 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.01114, allocations: 223.5 kB / 388.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.0112, allocations: 67.59 kB / 388.7 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.01123, allocations: 7.984 kB / 388.7 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.377e-05/0.01128, allocations: 7.984 kB / 388.7 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.01132, allocations: 15.92 kB / 388.7 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.01133, allocations: 4 kB / 388.7 MB, free: 7.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003149/0.01165, allocations: 474.8 kB / 389.2 MB, free: 7.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01165, allocations: 0 / 389.2 MB, free: 7.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000173/0.01182, allocations: 47.98 kB / 389.2 MB, free: 7.223 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.0008431/0.01266, allocations: 378.3 kB / 389.6 MB, free: 6.961 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.01282, allocations: 79.03 kB / 389.7 MB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01282, allocations: 0 / 389.7 MB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.445e-05/0.01288, allocations: 47.73 kB / 389.7 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.01319, allocations: 71.67 kB / 389.8 MB, free: 6.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007761/0.01397, allocations: 0.6519 MB / 390.5 MB, free: 6.074 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.224e-05/0.01406, allocations: 132.2 kB / 390.6 MB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.379e-05/0.01413, allocations: 34.97 kB / 390.6 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.01418, allocations: 32.48 kB / 390.7 MB, free: 5.855 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01418, allocations: 0 / 390.7 MB, free: 5.855 MB / 362.7 MB Notification: Performance of Templates: time 0.006753/0.02094, allocations: 4.021 MB / 394.7 MB, free: 1.871 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.378130642697215]