Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.00128/0.00128, allocations: 108.9 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.001389/0.001389, allocations: 217 kB / 23.54 MB, free: 5.402 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.438/1.438, allocations: 230.2 MB / 256.7 MB, free: 8.648 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2521/0.2521, allocations: 46.89 MB / 359.9 MB, free: 5.031 MB / 286.1 MB [Timeout remaining time 89] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 83.86 kB / 0.495 GB, free: 8.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2931, allocations: 65.97 MB / 0.5595 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003063/0.2962, allocations: 1.838 MB / 0.5613 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.298, allocations: 1.107 MB / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.2981, allocations: 0 / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004968/0.2986, allocations: 295.3 kB / 0.5626 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004413/0.299, allocations: 259.2 kB / 0.5629 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.2992, allocations: 103.6 kB / 0.563 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.2995, allocations: 263.2 kB / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.877e-05/0.2996, allocations: 5.688 kB / 0.5632 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.2997, allocations: 131.6 kB / 0.5633 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.3, allocations: 219.9 kB / 0.5636 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.3, allocations: 8 kB / 0.5636 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3001, allocations: 47.98 kB / 0.5636 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.3003, allocations: 132.5 kB / 0.5637 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.3004, allocations: 146.8 kB / 0.5639 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004053/0.3008, allocations: 376.6 kB / 0.5642 GB, free: 292 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3008, allocations: 0 / 0.5642 GB, free: 292 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3008, allocations: 0 / 0.5642 GB, free: 292 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.3008, allocations: 0 / 0.5642 GB, free: 292 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.0009717/0.3018, allocations: 0.7501 MB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.3018, allocations: 8.031 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.719e-05/0.3019, allocations: 52.61 kB / 0.565 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.3025, allocations: 460.2 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3025, allocations: 384 / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.3025, allocations: 8.125 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.3027, allocations: 95.33 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3027, allocations: 0 / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3027, allocations: 4 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3028, allocations: 4 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.3029, allocations: 31.92 kB / 0.5656 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.3032, allocations: 370.4 kB / 0.566 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.3035, allocations: 101.2 kB / 0.566 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.667e-05/0.3036, allocations: 49.52 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.3036, allocations: 0 / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.3038, allocations: 109.1 kB / 0.5662 GB, free: 14.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.3038, allocations: 0 / 0.5662 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000482/0.3043, allocations: 205.2 kB / 0.5664 GB, free: 13.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.3044, allocations: 77.11 kB / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.3055, allocations: 1.022 MB / 0.5675 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3055, allocations: 29.7 kB / 0.5675 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.3057, allocations: 236.1 kB / 0.5677 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.3057, allocations: 35.72 kB / 0.5678 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.3058, allocations: 29.72 kB / 0.5678 GB, free: 12.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3059, allocations: 366.8 kB / 0.5681 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.631e-05/0.306, allocations: 27.98 kB / 0.5682 GB, free: 12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.3061, allocations: 62.92 kB / 0.5682 GB, free: 11.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.3063, allocations: 99.84 kB / 0.5683 GB, free: 11.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3063, allocations: 0 / 0.5683 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002959/0.3066, allocations: 169.2 kB / 0.5685 GB, free: 11.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3066, allocations: 8 kB / 0.5685 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3066, allocations: 0 / 0.5685 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3066, allocations: 0 / 0.5685 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3067, allocations: 27.92 kB / 0.5685 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3068, allocations: 4.062 kB / 0.5685 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.605e-05/0.3068, allocations: 15.94 kB / 0.5685 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3069, allocations: 7.938 kB / 0.5685 GB, free: 11.59 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.0002111/0.3071, allocations: 222.5 kB / 0.5687 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.3071, allocations: 55.66 kB / 0.5688 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.3075, allocations: 189.7 kB / 0.569 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3075, allocations: 4 kB / 0.569 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3075, allocations: 7.984 kB / 0.569 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3075, allocations: 0 / 0.569 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.3079, allocations: 349.4 kB / 0.5693 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3079, allocations: 4 kB / 0.5693 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.3079, allocations: 11.94 kB / 0.5693 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3079, allocations: 0 / 0.5693 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.3079, allocations: 8.25 kB / 0.5694 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3079, allocations: 0 / 0.5694 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.3079, allocations: 11.92 kB / 0.5694 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.3083, allocations: 213.5 kB / 0.5696 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.3084, allocations: 140.8 kB / 0.5697 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.3084, allocations: 0 / 0.5697 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/0.3085, allocations: 15.92 kB / 0.5697 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.3086, allocations: 4 kB / 0.5697 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.3086, allocations: 7.984 kB / 0.5697 GB, free: 10.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007924/0.3094, allocations: 0.7604 MB / 0.5705 GB, free: 9.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3094, allocations: 7.938 kB / 0.5705 GB, free: 9.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.3096, allocations: 47.94 kB / 0.5705 GB, free: 9.445 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.001428/0.3111, allocations: 403.9 kB / 0.5709 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.3113, allocations: 83.91 kB / 0.571 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3113, allocations: 0 / 0.571 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.3114, allocations: 39.92 kB / 0.571 GB, free: 9.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.3118, allocations: 76.58 kB / 0.5711 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3131, allocations: 0.9183 MB / 0.572 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.3135, allocations: 0.8426 MB / 0.5728 GB, free: 7.168 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.3136, allocations: 31.42 kB / 0.5728 GB, free: 7.141 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3136, allocations: 4 kB / 0.5729 GB, free: 7.137 MB / 414.1 MB Notification: Performance of Templates: time 0.007955/0.3216, allocations: 5.129 MB / 0.5779 GB, free: 2.012 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches