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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001441/0.001441, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001409/0.001409, allocations: 208.4 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 230.2 MB / 256.8 MB, free: 8.621 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.9 MB / 359.9 MB, free: 4.969 MB / 286.1 MB [Timeout remaining time 90] 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 0.002302/0.002302, allocations: 79.88 kB / 0.495 GB, free: 8.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2991, allocations: 66 MB / 0.5595 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003282/0.3024, allocations: 1.818 MB / 0.5613 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.3042, allocations: 1.108 MB / 0.5623 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.3043, allocations: 7.938 kB / 0.5624 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005191/0.3048, allocations: 295.3 kB / 0.5626 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.3053, allocations: 255.2 kB / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.3056, allocations: 107.6 kB / 0.563 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.3059, allocations: 263.3 kB / 0.5632 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.306, allocations: 5.688 kB / 0.5632 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.3062, allocations: 131.5 kB / 0.5634 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.3065, allocations: 215.9 kB / 0.5636 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.3065, allocations: 4 kB / 0.5636 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.3066, allocations: 51.98 kB / 0.5636 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.3068, allocations: 140.4 kB / 0.5638 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.3069, allocations: 146.8 kB / 0.5639 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.3073, allocations: 368.6 kB / 0.5643 GB, free: 228 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3073, allocations: 0 / 0.5643 GB, free: 228 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3073, allocations: 0 / 0.5643 GB, free: 228 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3074, allocations: 0 / 0.5643 GB, free: 228 kB / 398.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.001046/0.3084, allocations: 0.7509 MB / 0.565 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.3084, allocations: 11.97 kB / 0.565 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.3085, allocations: 64.53 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006662/0.3092, allocations: 452.3 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3092, allocations: 384 / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3092, allocations: 11.36 kB / 0.5655 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.3095, allocations: 87.36 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3095, allocations: 0 / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3095, allocations: 3.938 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3095, allocations: 8 kB / 0.5656 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.3096, allocations: 31.97 kB / 0.5656 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.31, allocations: 374.3 kB / 0.566 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.3103, allocations: 101.2 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.3104, allocations: 37.7 kB / 0.5661 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.3104, allocations: 0 / 0.5661 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.3107, allocations: 113 kB / 0.5662 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.3107, allocations: 4 kB / 0.5662 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000511/0.3112, allocations: 201.2 kB / 0.5664 GB, free: 13.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.3112, allocations: 81.11 kB / 0.5665 GB, free: 13.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.3124, allocations: 1.026 MB / 0.5675 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.3124, allocations: 25.7 kB / 0.5675 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.3126, allocations: 236.1 kB / 0.5677 GB, free: 12.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.3127, allocations: 35.78 kB / 0.5678 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.3127, allocations: 21.72 kB / 0.5678 GB, free: 12.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.3129, allocations: 374.7 kB / 0.5682 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.313, allocations: 27.98 kB / 0.5682 GB, free: 11.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.3131, allocations: 63.41 kB / 0.5682 GB, free: 11.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.3133, allocations: 87.36 kB / 0.5683 GB, free: 11.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3133, allocations: 0 / 0.5683 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003206/0.3136, allocations: 173.2 kB / 0.5685 GB, free: 11.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3136, allocations: 8 kB / 0.5685 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3137, allocations: 3.938 kB / 0.5685 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3137, allocations: 0 / 0.5685 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3138, allocations: 24.61 kB / 0.5685 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3138, allocations: 3.938 kB / 0.5685 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.445e-05/0.3139, allocations: 8.062 kB / 0.5685 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.3139, allocations: 8 kB / 0.5685 GB, free: 11.52 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.0002553/0.3142, allocations: 234.4 kB / 0.5688 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.3142, allocations: 51.62 kB / 0.5688 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.3147, allocations: 201.7 kB / 0.569 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3147, allocations: 4 kB / 0.569 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3147, allocations: 0 / 0.569 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3147, allocations: 4 kB / 0.569 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.315, allocations: 349.4 kB / 0.5694 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.315, allocations: 0 / 0.5694 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.3151, allocations: 11.98 kB / 0.5694 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3151, allocations: 3.984 kB / 0.5694 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3151, allocations: 4 kB / 0.5694 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3151, allocations: 0 / 0.5694 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3151, allocations: 0 / 0.5694 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.3154, allocations: 221.4 kB / 0.5696 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.3156, allocations: 148.7 kB / 0.5697 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.3156, allocations: 0 / 0.5697 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.495e-05/0.3157, allocations: 4 kB / 0.5697 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.3158, allocations: 11.98 kB / 0.5697 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.3158, allocations: 4 kB / 0.5697 GB, free: 10.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008456/0.3166, allocations: 0.7643 MB / 0.5705 GB, free: 9.426 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3166, allocations: 0 / 0.5705 GB, free: 9.426 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.3169, allocations: 51.94 kB / 0.5705 GB, free: 9.375 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.00154/0.3185, allocations: 409.9 kB / 0.5709 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002796/0.3187, allocations: 83.89 kB / 0.571 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3187, allocations: 0 / 0.571 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.3189, allocations: 39.92 kB / 0.5711 GB, free: 8.984 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.3193, allocations: 72.41 kB / 0.5711 GB, free: 8.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.3207, allocations: 0.9223 MB / 0.572 GB, free: 7.969 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.3212, allocations: 0.8426 MB / 0.5728 GB, free: 7.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.3213, allocations: 31.38 kB / 0.5729 GB, free: 7.07 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3213, allocations: 0 / 0.5729 GB, free: 7.07 MB / 414.1 MB Notification: Performance of Templates: time 0.009025/0.3303, allocations: 5.134 MB / 0.5779 GB, free: 1.941 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/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