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.00122/0.00122, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001335/0.001335, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.366/1.366, allocations: 230.5 MB / 258.1 MB, free: 7.973 MB / 206.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.215/0.215, allocations: 46.92 MB / 361.5 MB, free: 4.145 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.002283/0.002283, allocations: 80.2 kB / 0.4975 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.301, allocations: 66.07 MB / 0.562 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003679/0.3047, allocations: 1.848 MB / 0.5638 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.3068, allocations: 1.119 MB / 0.5649 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3069, allocations: 3.938 kB / 0.5649 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.3074, allocations: 307.3 kB / 0.5652 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000512/0.3079, allocations: 263.2 kB / 0.5654 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.3082, allocations: 107.7 kB / 0.5656 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.3086, allocations: 271.2 kB / 0.5658 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.099e-05/0.3086, allocations: 5.812 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.3088, allocations: 139.5 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.3091, allocations: 215.4 kB / 0.5662 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.3091, allocations: 8 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.3093, allocations: 47.98 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.3094, allocations: 139.6 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.3096, allocations: 146.8 kB / 0.5665 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.3101, allocations: 388.5 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3101, allocations: 4 kB / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3101, allocations: 0 / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.3101, allocations: 0 / 0.5669 GB, free: 15.2 MB / 414.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.001048/0.3111, allocations: 0.6825 MB / 0.5675 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3112, allocations: 11.97 kB / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.3113, allocations: 52.61 kB / 0.5676 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/0.312, allocations: 402.4 kB / 0.568 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.312, allocations: 12.31 kB / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.312, allocations: 384 / 0.568 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.3122, allocations: 95.67 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3122, allocations: 0 / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3123, allocations: 0 / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3123, allocations: 0 / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3124, allocations: 39.89 kB / 0.5681 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.3128, allocations: 353.4 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.3131, allocations: 101.2 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3132, allocations: 33.7 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3132, allocations: 11.92 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.3134, allocations: 105 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.3134, allocations: 0 / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004887/0.3139, allocations: 197.2 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.314, allocations: 85.11 kB / 0.569 GB, free: 12.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.3152, allocations: 1.05 MB / 0.57 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.3152, allocations: 33.7 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/0.3155, allocations: 232.1 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.3155, allocations: 43.72 kB / 0.5703 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.3156, allocations: 21.72 kB / 0.5703 GB, free: 11.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.3158, allocations: 374.7 kB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/0.3159, allocations: 31.97 kB / 0.5707 GB, free: 11.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.316, allocations: 59.42 kB / 0.5707 GB, free: 10.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.3162, allocations: 95.84 kB / 0.5708 GB, free: 10.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3162, allocations: 0 / 0.5708 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003097/0.3165, allocations: 177.2 kB / 0.571 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3165, allocations: 6.344 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.3165, allocations: 0 / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3165, allocations: 4 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.3166, allocations: 27.86 kB / 0.571 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3166, allocations: 4 kB / 0.571 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.432e-05/0.3167, allocations: 11.94 kB / 0.5711 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.3168, allocations: 7.984 kB / 0.5711 GB, free: 10.65 MB / 414.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.0002491/0.317, allocations: 224 kB / 0.5713 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.3171, allocations: 55.56 kB / 0.5713 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003961/0.3175, allocations: 197.8 kB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3175, allocations: 7.922 kB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3175, allocations: 0 / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3175, allocations: 0 / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.3178, allocations: 316.5 kB / 0.5718 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3178, allocations: 0 / 0.5718 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.3179, allocations: 20.12 kB / 0.5718 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3179, allocations: 4 kB / 0.5718 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.3179, allocations: 11.98 kB / 0.5719 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3179, allocations: 0 / 0.5719 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3179, allocations: 0 / 0.5719 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.3183, allocations: 209.5 kB / 0.5721 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.3184, allocations: 71.53 kB / 0.5721 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.3184, allocations: 4 kB / 0.5721 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.3185, allocations: 11.98 kB / 0.5721 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.3186, allocations: 11.98 kB / 0.5722 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.3186, allocations: 8 kB / 0.5722 GB, free: 9.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009001/0.3195, allocations: 0.78 MB / 0.5729 GB, free: 8.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3195, allocations: 0 / 0.5729 GB, free: 8.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.3198, allocations: 43.98 kB / 0.573 GB, free: 8.617 MB / 414.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.001598/0.3214, allocations: 414.7 kB / 0.5734 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.3216, allocations: 83.91 kB / 0.5734 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3216, allocations: 0 / 0.5734 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3218, allocations: 43.91 kB / 0.5735 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.3222, allocations: 68.91 kB / 0.5735 GB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.3237, allocations: 0.9341 MB / 0.5745 GB, free: 7.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.3242, allocations: 0.8507 MB / 0.5753 GB, free: 6.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.701e-05/0.3243, allocations: 31.42 kB / 0.5753 GB, free: 6.281 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3243, allocations: 0 / 0.5753 GB, free: 6.281 MB / 414.1 MB Notification: Performance of Templates: time 0.01054/0.3348, allocations: 5.243 MB / 0.5804 GB, free: 1.035 MB / 414.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 -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: 7.405051617883146]