Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9851/0.9851, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2923/0.2923, allocations: 34.26 MB / 295.7 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.701e-05/3.904e-05, allocations: 6.312 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002698/0.002737, allocations: 1.844 MB / 380 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.004212, allocations: 1.087 MB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.282e-05/0.004305, allocations: 0 / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005129/0.004818, allocations: 295.1 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.00525, allocations: 263 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.005446, allocations: 103.6 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.005715, allocations: 279.2 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.005767, allocations: 5.812 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.005922, allocations: 151.6 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.00612, allocations: 204.1 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.006145, allocations: 8 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.006251, allocations: 43.92 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.00641, allocations: 144.5 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.006502, allocations: 71.67 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.00681, allocations: 274.9 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.006814, allocations: 4 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006815, allocations: 3.938 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.006822, allocations: 4 kB / 382.9 MB, free: 13.79 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.0007842/0.007606, allocations: 0.7746 MB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.007644, allocations: 8.031 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.559e-05/0.007719, allocations: 60.53 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.008047, allocations: 324.7 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.008069, allocations: 4.375 kB / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.008082, allocations: 384 / 384 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.008256, allocations: 102.3 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.008267, allocations: 3.938 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.008277, allocations: 7.984 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.008286, allocations: 4 kB / 384.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.372e-05/0.00833, allocations: 19.92 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.008591, allocations: 308.2 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.00874, allocations: 98.16 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.008786, allocations: 35.36 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.008801, allocations: 0 / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.00895, allocations: 112.3 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.008951, allocations: 0 / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003027/0.009253, allocations: 181.2 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.009299, allocations: 77.11 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005143/0.009813, allocations: 0.7056 MB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.009831, allocations: 29.7 kB / 385.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.009978, allocations: 302.8 kB / 386 MB, free: 10.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.01002, allocations: 23.86 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.01006, allocations: 35.36 kB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.01022, allocations: 0.5587 MB / 386.6 MB, free: 9.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.732e-05/0.01026, allocations: 16.48 kB / 386.6 MB, free: 9.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.807e-05/0.01031, allocations: 54.73 kB / 386.7 MB, free: 9.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.175e-05/0.01039, allocations: 78.67 kB / 386.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01039, allocations: 0 / 386.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001647/0.01056, allocations: 149.2 kB / 386.9 MB, free: 9.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.01057, allocations: 11.98 kB / 386.9 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01058, allocations: 7.875 kB / 386.9 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.0106, allocations: 8.062 kB / 386.9 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.01069, allocations: 20 kB / 386.9 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.0107, allocations: 3.984 kB / 386.9 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.195e-05/0.01075, allocations: 11.92 kB / 387 MB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.01076, allocations: 4 kB / 387 MB, free: 9.398 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.729e-05/0.01085, allocations: 169.1 kB / 387.1 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.0109, allocations: 63.61 kB / 387.2 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.01111, allocations: 161.8 kB / 387.3 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01112, allocations: 4 kB / 387.4 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01112, allocations: 8.188 kB / 387.4 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01112, allocations: 0 / 387.4 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.01134, allocations: 312.4 kB / 387.7 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.01134, allocations: 4 kB / 387.7 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.01137, allocations: 11.98 kB / 387.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01138, allocations: 0 / 387.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.01139, allocations: 4 kB / 387.7 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.01139, allocations: 3.938 kB / 387.7 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01139, allocations: 0 / 387.7 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.01157, allocations: 219.6 kB / 387.9 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.01163, allocations: 63.66 kB / 388 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.01166, allocations: 0 / 388 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5e-05/0.01171, allocations: 19.91 kB / 388 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.01175, allocations: 7.984 kB / 388 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.01177, allocations: 4 kB / 388 MB, free: 8.285 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003327/0.0121, allocations: 478.8 kB / 388.5 MB, free: 7.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0121, allocations: 0 / 388.5 MB, free: 7.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000181/0.01228, allocations: 43.98 kB / 388.5 MB, free: 7.777 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.0009273/0.01321, allocations: 394.3 kB / 388.9 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.01336, allocations: 67.59 kB / 389 MB, free: 7.461 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01336, allocations: 3.938 kB / 389 MB, free: 7.457 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.462e-05/0.01341, allocations: 39.61 kB / 389 MB, free: 7.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.01371, allocations: 84.17 kB / 389.1 MB, free: 7.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007378/0.01445, allocations: 0.6519 MB / 389.7 MB, free: 6.652 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.091e-05/0.01453, allocations: 132.2 kB / 389.9 MB, free: 6.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.708e-05/0.0146, allocations: 39.45 kB / 389.9 MB, free: 6.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.01465, allocations: 40.42 kB / 389.9 MB, free: 6.422 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01466, allocations: 0 / 389.9 MB, free: 6.422 MB / 362.7 MB Notification: Performance of Templates: time 0.006966/0.02162, allocations: 4.012 MB / 394 MB, free: 2.441 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.346585974097252]