Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001665/0.001665, allocations: 110.2 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.002056/0.002056, allocations: 211.2 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.464/1.464, allocations: 230.2 MB / 256.7 MB, free: 8.633 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.2564/0.2564, allocations: 46.88 MB / 359.9 MB, free: 5.012 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68") [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.002591/0.002591, allocations: 75.88 kB / 0.495 GB, free: 8.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2983, allocations: 65.99 MB / 0.5595 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003283/0.3016, allocations: 1.833 MB / 0.5612 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.3034, allocations: 1.1 MB / 0.5623 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.691e-05/0.3035, allocations: 7.938 kB / 0.5623 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005075/0.304, allocations: 303.3 kB / 0.5626 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.3044, allocations: 247.2 kB / 0.5629 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.3046, allocations: 107.6 kB / 0.563 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.305, allocations: 259.3 kB / 0.5632 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.305, allocations: 5.688 kB / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.3052, allocations: 139.5 kB / 0.5633 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00025/0.3055, allocations: 207.9 kB / 0.5635 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.3055, allocations: 11.94 kB / 0.5636 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3056, allocations: 47.97 kB / 0.5636 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.3057, allocations: 144.5 kB / 0.5637 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.3059, allocations: 142.8 kB / 0.5639 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.3063, allocations: 372.6 kB / 0.5642 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3063, allocations: 0 / 0.5642 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3063, allocations: 0 / 0.5642 GB, free: 296 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.3063, allocations: 0 / 0.5642 GB, free: 296 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.001005/0.3073, allocations: 0.7501 MB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.3074, allocations: 8.031 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.211e-05/0.3074, allocations: 56.61 kB / 0.565 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006084/0.3081, allocations: 460.2 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.3081, allocations: 8.375 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.3081, allocations: 4.125 kB / 0.5655 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.3083, allocations: 87.36 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3083, allocations: 3.938 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.3083, allocations: 4 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.3083, allocations: 0 / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3084, allocations: 31.98 kB / 0.5656 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.3088, allocations: 370.4 kB / 0.5659 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.3091, allocations: 105.2 kB / 0.566 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.511e-05/0.3092, allocations: 41.64 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.3092, allocations: 4 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.3094, allocations: 101 kB / 0.5662 GB, free: 14.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.3094, allocations: 0 / 0.5662 GB, free: 14.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000475/0.3099, allocations: 209.2 kB / 0.5664 GB, free: 13.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.31, allocations: 81.11 kB / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.3111, allocations: 1.022 MB / 0.5675 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3111, allocations: 29.69 kB / 0.5675 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.3113, allocations: 240.1 kB / 0.5677 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.3114, allocations: 27.78 kB / 0.5677 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.3114, allocations: 29.7 kB / 0.5678 GB, free: 12.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3116, allocations: 374.8 kB / 0.5681 GB, free: 12.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/0.3117, allocations: 23.98 kB / 0.5682 GB, free: 12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.3118, allocations: 58.92 kB / 0.5682 GB, free: 11.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.312, allocations: 91.34 kB / 0.5683 GB, free: 11.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.312, allocations: 8.438 kB / 0.5683 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003128/0.3123, allocations: 173.2 kB / 0.5685 GB, free: 11.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3123, allocations: 11.94 kB / 0.5685 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3123, allocations: 0 / 0.5685 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3123, allocations: 4 kB / 0.5685 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3124, allocations: 23.98 kB / 0.5685 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.3124, allocations: 0 / 0.5685 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.733e-05/0.3125, allocations: 15.94 kB / 0.5685 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3126, allocations: 12 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.0002236/0.3128, allocations: 230.5 kB / 0.5688 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.3128, allocations: 55.66 kB / 0.5688 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.3132, allocations: 197.7 kB / 0.569 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.3132, allocations: 0 / 0.569 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3132, allocations: 0 / 0.569 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3132, allocations: 0 / 0.569 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.3136, allocations: 353.4 kB / 0.5693 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3136, allocations: 4 kB / 0.5693 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.302e-05/0.3136, allocations: 8 kB / 0.5693 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3136, allocations: 0 / 0.5693 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3136, allocations: 4 kB / 0.5694 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3136, allocations: 3.984 kB / 0.5694 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3136, allocations: 0 / 0.5694 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003623/0.314, allocations: 213.5 kB / 0.5696 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.3142, allocations: 145 kB / 0.5697 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.3142, allocations: 4 kB / 0.5697 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.347e-05/0.3143, allocations: 15.92 kB / 0.5697 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.3143, allocations: 7.984 kB / 0.5697 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.3143, allocations: 12 kB / 0.5697 GB, free: 10.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008191/0.3152, allocations: 0.7604 MB / 0.5705 GB, free: 9.492 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3152, allocations: 0 / 0.5705 GB, free: 9.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.3154, allocations: 43.94 kB / 0.5705 GB, free: 9.449 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.001481/0.3169, allocations: 405.9 kB / 0.5709 GB, free: 9.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.3172, allocations: 75.91 kB / 0.571 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3172, allocations: 0 / 0.571 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.3173, allocations: 44.28 kB / 0.571 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.3177, allocations: 77.84 kB / 0.5711 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3191, allocations: 0.9185 MB / 0.572 GB, free: 8.043 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.3196, allocations: 0.8504 MB / 0.5728 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.3197, allocations: 31.42 kB / 0.5729 GB, free: 7.137 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3197, allocations: 0 / 0.5729 GB, free: 7.137 MB / 414.1 MB Notification: Performance of Templates: time 0.008137/0.3278, allocations: 5.131 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.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches