Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.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.001432/0.001432, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002652/0.002652, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.515/1.515, allocations: 230.5 MB / 258.2 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2501/0.2501, allocations: 46.93 MB / 361.6 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 179] 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.Test70,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.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,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.Test70") [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.002307/0.002307, allocations: 83.84 kB / 0.4975 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3353, allocations: 66.08 MB / 0.562 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003772/0.339, allocations: 1.849 MB / 0.5638 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.3411, allocations: 1.119 MB / 0.5649 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3412, allocations: 4 kB / 0.5649 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005816/0.3418, allocations: 311.2 kB / 0.5652 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005175/0.3423, allocations: 259.2 kB / 0.5655 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.3426, allocations: 107.7 kB / 0.5656 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.3429, allocations: 263.2 kB / 0.5658 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.785e-05/0.343, allocations: 13.78 kB / 0.5659 GB, free: 320 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.3432, allocations: 135.5 kB / 0.566 GB, free: 184 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.3435, allocations: 219.5 kB / 0.5662 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.3435, allocations: 11.94 kB / 0.5662 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.3436, allocations: 43.94 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.3438, allocations: 151.5 kB / 0.5664 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.3439, allocations: 146.8 kB / 0.5665 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.3444, allocations: 384.6 kB / 0.5669 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3444, allocations: 0 / 0.5669 GB, free: 15.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3444, allocations: 0 / 0.5669 GB, free: 15.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3444, allocations: 0 / 0.5669 GB, free: 15.25 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.001113/0.3455, allocations: 0.6863 MB / 0.5676 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3456, allocations: 8.031 kB / 0.5676 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.216e-05/0.3457, allocations: 48.61 kB / 0.5676 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007135/0.3464, allocations: 406.5 kB / 0.568 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.3464, allocations: 8.375 kB / 0.568 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.3464, allocations: 4.312 kB / 0.568 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.3466, allocations: 87.69 kB / 0.5681 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3467, allocations: 4 kB / 0.5681 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3467, allocations: 3.984 kB / 0.5681 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3467, allocations: 0 / 0.5681 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.3468, allocations: 35.98 kB / 0.5681 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.3472, allocations: 357.3 kB / 0.5685 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.3475, allocations: 93.23 kB / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.666e-05/0.3476, allocations: 41.7 kB / 0.5686 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.3476, allocations: 0 / 0.5686 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.3479, allocations: 113 kB / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.3479, allocations: 0 / 0.5687 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005094/0.3484, allocations: 205.2 kB / 0.5689 GB, free: 13.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.3485, allocations: 81.11 kB / 0.569 GB, free: 12.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.3497, allocations: 1.046 MB / 0.57 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3498, allocations: 29.7 kB / 0.57 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.35, allocations: 236.1 kB / 0.5703 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.35, allocations: 35.73 kB / 0.5703 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.3501, allocations: 29.7 kB / 0.5703 GB, free: 11.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.3503, allocations: 374.8 kB / 0.5707 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.451e-05/0.3504, allocations: 27.98 kB / 0.5707 GB, free: 11.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.3505, allocations: 55.36 kB / 0.5708 GB, free: 11.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.3507, allocations: 95.34 kB / 0.5709 GB, free: 10.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3507, allocations: 3.938 kB / 0.5709 GB, free: 10.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003465/0.351, allocations: 173.7 kB / 0.571 GB, free: 10.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3511, allocations: 7.984 kB / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3511, allocations: 0 / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3511, allocations: 7.938 kB / 0.571 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3512, allocations: 24.06 kB / 0.5711 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3512, allocations: 7.922 kB / 0.5711 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.3513, allocations: 11.94 kB / 0.5711 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3513, allocations: 8.062 kB / 0.5711 GB, free: 10.7 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.0002368/0.3516, allocations: 222.7 kB / 0.5713 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.509e-05/0.3517, allocations: 59.55 kB / 0.5714 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.3521, allocations: 201.8 kB / 0.5716 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3521, allocations: 0 / 0.5716 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3521, allocations: 0 / 0.5716 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3521, allocations: 0 / 0.5716 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.3524, allocations: 320.5 kB / 0.5719 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3524, allocations: 4 kB / 0.5719 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-05/0.3525, allocations: 19.92 kB / 0.5719 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3525, allocations: 0 / 0.5719 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3525, allocations: 4 kB / 0.5719 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3525, allocations: 7.938 kB / 0.5719 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3525, allocations: 0 / 0.5719 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.3529, allocations: 217.5 kB / 0.5721 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.353, allocations: 71.53 kB / 0.5722 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.353, allocations: 0 / 0.5722 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.79e-05/0.3531, allocations: 8 kB / 0.5722 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.3532, allocations: 7.984 kB / 0.5722 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.3532, allocations: 7.984 kB / 0.5722 GB, free: 9.484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008876/0.3541, allocations: 0.7878 MB / 0.573 GB, free: 8.699 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3541, allocations: 0 / 0.573 GB, free: 8.699 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.3544, allocations: 40 kB / 0.573 GB, free: 8.66 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.001543/0.3559, allocations: 403.6 kB / 0.5734 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.3562, allocations: 83.89 kB / 0.5735 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3562, allocations: 0 / 0.5735 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.3563, allocations: 43.86 kB / 0.5735 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.3567, allocations: 77.88 kB / 0.5736 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.3581, allocations: 0.8857 MB / 0.5744 GB, free: 7.277 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.3586, allocations: 0.8507 MB / 0.5753 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.3588, allocations: 66.94 kB / 0.5753 GB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.3588, allocations: 31.44 kB / 0.5754 GB, free: 6.309 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3588, allocations: 0 / 0.5754 GB, free: 6.309 MB / 414.1 MB Notification: Performance of Templates: time 0.009655/0.3685, allocations: 3.915 MB / 0.5792 GB, free: 2.41 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.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.371994070708752]