Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.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.001732/0.001732, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.002116/0.002116, allocations: 220.5 kB / 25.13 MB, free: 3.609 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.479/1.479, allocations: 230.4 MB / 258.7 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.2495/0.2495, allocations: 46.93 MB / 362 MB, free: 4.309 MB / 286.1 MB " [Timeout remaining time 180] 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81") [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.002503/0.002503, allocations: 79.88 kB / 0.4979 GB, free: 7.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3417, allocations: 66.07 MB / 0.5624 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00347/0.3452, allocations: 1.845 MB / 0.5642 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003354/0.3486, allocations: 1.805 MB / 0.5659 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.3487, allocations: 3.938 kB / 0.5659 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.349, allocations: 55.69 kB / 0.566 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004819/0.3495, allocations: 139.3 kB / 0.5661 GB, free: 380 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.3497, allocations: 111.6 kB / 0.5662 GB, free: 268 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.35, allocations: 207.3 kB / 0.5664 GB, free: 60 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.102e-05/0.3501, allocations: 5.812 kB / 0.5664 GB, free: 52 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.3503, allocations: 99.55 kB / 0.5665 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.3505, allocations: 71.69 kB / 0.5666 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.3505, allocations: 12 kB / 0.5666 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.3508, allocations: 115.9 kB / 0.5667 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.618e-05/0.3508, allocations: 35.86 kB / 0.5668 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.755e-05/0.3509, allocations: 63.59 kB / 0.5668 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.3513, allocations: 233.6 kB / 0.567 GB, free: 15.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3513, allocations: 3.938 kB / 0.567 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3513, allocations: 0 / 0.567 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.3513, allocations: 0 / 0.567 GB, free: 15.43 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.000815/0.3521, allocations: 425 kB / 0.5675 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3522, allocations: 12.03 kB / 0.5675 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3523, allocations: 16.84 kB / 0.5675 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.3527, allocations: 194.1 kB / 0.5677 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.3527, allocations: 12.36 kB / 0.5677 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3527, allocations: 4.375 kB / 0.5677 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.353, allocations: 152.8 kB / 0.5678 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.353, allocations: 4 kB / 0.5678 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.353, allocations: 4 kB / 0.5678 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.353, allocations: 0 / 0.5678 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.3531, allocations: 31.92 kB / 0.5679 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.3534, allocations: 193.6 kB / 0.568 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.3536, allocations: 101.2 kB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.526e-05/0.3537, allocations: 37.7 kB / 0.5682 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3538, allocations: 3.984 kB / 0.5682 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.354, allocations: 116.9 kB / 0.5683 GB, free: 13.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.354, allocations: 0 / 0.5683 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004742/0.3545, allocations: 169.4 kB / 0.5685 GB, free: 13.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.3546, allocations: 132.5 kB / 0.5686 GB, free: 13.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.3549, allocations: 238.3 kB / 0.5688 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.3549, allocations: 25.7 kB / 0.5688 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3551, allocations: 120.1 kB / 0.569 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.3551, allocations: 31.8 kB / 0.569 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.3552, allocations: 33.7 kB / 0.569 GB, free: 13.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.3554, allocations: 326.8 kB / 0.5693 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.3555, allocations: 27.98 kB / 0.5694 GB, free: 12.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.3556, allocations: 124.5 kB / 0.5695 GB, free: 12.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.3559, allocations: 95.89 kB / 0.5696 GB, free: 12.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3559, allocations: 0 / 0.5696 GB, free: 12.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002836/0.3561, allocations: 141.4 kB / 0.5697 GB, free: 12.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3562, allocations: 4 kB / 0.5697 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3562, allocations: 7.938 kB / 0.5697 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3562, allocations: 4.062 kB / 0.5697 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3563, allocations: 16 kB / 0.5697 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3563, allocations: 7.984 kB / 0.5697 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-05/0.3564, allocations: 11.89 kB / 0.5697 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3564, allocations: 7.938 kB / 0.5698 GB, free: 12.37 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.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.0001414/0.3566, allocations: 141.8 kB / 0.5699 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.3566, allocations: 19.84 kB / 0.5699 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/0.357, allocations: 150.7 kB / 0.5701 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.357, allocations: 4 kB / 0.5701 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.357, allocations: 0 / 0.5701 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.357, allocations: 0 / 0.5701 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.3572, allocations: 196.6 kB / 0.5702 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3572, allocations: 0 / 0.5702 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.3572, allocations: 11.94 kB / 0.5703 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3572, allocations: 0 / 0.5703 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3572, allocations: 4 kB / 0.5703 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.3572, allocations: 4.25 kB / 0.5703 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3572, allocations: 4 kB / 0.5703 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.3575, allocations: 177.7 kB / 0.5704 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.3576, allocations: 23.78 kB / 0.5705 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.3576, allocations: 0 / 0.5705 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.3577, allocations: 15.97 kB / 0.5705 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.3577, allocations: 7.984 kB / 0.5705 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.3577, allocations: 4 kB / 0.5705 GB, free: 11.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.3579, allocations: 184.5 kB / 0.5707 GB, free: 11.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3579, allocations: 0 / 0.5707 GB, free: 11.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00029/0.3582, allocations: 51.86 kB / 0.5707 GB, free: 11.3 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001802/0.36, allocations: 0.496 MB / 0.5712 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002609/0.3603, allocations: 75.91 kB / 0.5713 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3603, allocations: 0 / 0.5713 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3604, allocations: 39.91 kB / 0.5713 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.3608, allocations: 56.64 kB / 0.5714 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005885/0.3614, allocations: 275.7 kB / 0.5716 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.3617, allocations: 0.7203 MB / 0.5723 GB, free: 9.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.005e-05/0.3618, allocations: 33.97 kB / 0.5724 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.224e-05/0.3619, allocations: 35.41 kB / 0.5724 GB, free: 9.684 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3619, allocations: 0 / 0.5724 GB, free: 9.684 MB / 414.1 MB Notification: Performance of Templates: time 0.007156/0.3691, allocations: 3.165 MB / 0.5755 GB, free: 6.535 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.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.211472320836037]