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.002284/0.002284, allocations: 99.53 kB / 20.96 MB, free: 3.449 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.002687/0.002687, allocations: 156.8 kB / 24.27 MB, free: 152 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.608/1.608, allocations: 177 MB / 204.5 MB, free: 5.613 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.3792/0.3792, allocations: 34.25 MB / 295.2 MB, free: 0.6289 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.821e-05/2.97e-05, allocations: 2.312 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003409/0.003439, allocations: 1.819 MB / 379.1 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.005572, allocations: 1.075 MB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.909e-05/0.005672, allocations: 11.94 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005989/0.00627, allocations: 295.2 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005876/0.006858, allocations: 258.9 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.007146, allocations: 107.6 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.007521, allocations: 271.2 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.546e-05/0.007577, allocations: 5.812 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.007816, allocations: 151.6 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.008105, allocations: 196.1 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.008139, allocations: 8 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.008281, allocations: 59.86 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.008455, allocations: 136.5 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.008576, allocations: 67.67 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004912/0.009067, allocations: 350.8 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.009071, allocations: 3.984 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.009072, allocations: 0 / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.009078, allocations: 0 / 382.1 MB, free: 14.01 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.001208/0.01029, allocations: 0.7977 MB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.01033, allocations: 12.03 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.01044, allocations: 60.59 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.011, allocations: 332.6 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.01101, allocations: 384 / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.01103, allocations: 4.375 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.01124, allocations: 97.52 kB / 383.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.01126, allocations: 4.172 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.01127, allocations: 384 / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.01127, allocations: 3.938 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.01138, allocations: 23.98 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.01189, allocations: 348.3 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.0122, allocations: 118.1 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.0123, allocations: 39.36 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.01232, allocations: 4 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/0.0126, allocations: 116.3 kB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.0126, allocations: 0 / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005924/0.01319, allocations: 197.2 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002973/0.01349, allocations: 85.05 kB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.0145, allocations: 0.7642 MB / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.01453, allocations: 29.7 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.01483, allocations: 326.8 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.01488, allocations: 23.84 kB / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.01495, allocations: 35.38 kB / 385.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004008/0.01535, allocations: 0.5782 MB / 386 MB, free: 9.801 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.228e-05/0.01543, allocations: 31.92 kB / 386.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.01554, allocations: 66.72 kB / 386.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.01573, allocations: 95.17 kB / 386.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01573, allocations: 0 / 386.2 MB, free: 9.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003176/0.01605, allocations: 173.2 kB / 386.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.01607, allocations: 12 kB / 386.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01607, allocations: 0 / 386.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.01609, allocations: 4 kB / 386.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.01622, allocations: 23.92 kB / 386.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.01622, allocations: 0 / 386.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.01633, allocations: 11.94 kB / 386.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.01634, allocations: 4 kB / 386.4 MB, free: 9.348 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 0.0001762/0.01652, allocations: 178 kB / 386.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.193e-05/0.0166, allocations: 59.62 kB / 386.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.017, allocations: 185.8 kB / 386.8 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.017, allocations: 3.984 kB / 386.9 MB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.01701, allocations: 3.938 kB / 386.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.01702, allocations: 4 kB / 386.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.01747, allocations: 344.5 kB / 387.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01747, allocations: 0 / 387.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.01752, allocations: 11.98 kB / 387.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01753, allocations: 4 kB / 387.2 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.01754, allocations: 0 / 387.2 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.01754, allocations: 4.25 kB / 387.2 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01754, allocations: 0 / 387.2 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004024/0.01795, allocations: 247.5 kB / 387.5 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.01809, allocations: 63.59 kB / 387.5 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.01814, allocations: 7.984 kB / 387.5 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.971e-05/0.01823, allocations: 8 kB / 387.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.01828, allocations: 11.92 kB / 387.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.0183, allocations: 4 kB / 387.5 MB, free: 8.152 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006127/0.01891, allocations: 0.491 MB / 388 MB, free: 7.664 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01891, allocations: 4 kB / 388 MB, free: 7.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.0192, allocations: 40 kB / 388.1 MB, free: 7.621 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.00288/0.02208, allocations: 434.7 kB / 388.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002768/0.02235, allocations: 99.52 kB / 388.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.02236, allocations: 0 / 388.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.02247, allocations: 47.67 kB / 388.7 MB, free: 7.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.02292, allocations: 77.81 kB / 388.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.02405, allocations: 0.6676 MB / 389.4 MB, free: 6.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.02433, allocations: 233.7 kB / 389.6 MB, free: 6.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.87e-05/0.02443, allocations: 38.95 kB / 389.7 MB, free: 6.121 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.705e-05/0.02451, allocations: 28.48 kB / 389.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02451, allocations: 0 / 389.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of Templates: time 0.009946/0.03446, allocations: 3.968 MB / 393.7 MB, free: 2.156 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.0450670489808545]