Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.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.001367/0.001367, 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.001595/0.001595, allocations: 216.8 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.426/1.426, allocations: 230.2 MB / 256.7 MB, free: 8.656 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.2273/0.2273, allocations: 46.88 MB / 359.9 MB, free: 5.035 MB / 286.1 MB [Timeout remaining time 90] 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15") [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.003754/0.003754, allocations: 83.88 kB / 0.4951 GB, free: 8.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3532, allocations: 65.98 MB / 0.5595 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003139/0.3564, allocations: 1.728 MB / 0.5612 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.3581, allocations: 1.034 MB / 0.5622 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.3581, allocations: 4 kB / 0.5622 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002679/0.3584, allocations: 43.7 kB / 0.5622 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.3587, allocations: 95.53 kB / 0.5623 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.3589, allocations: 79.72 kB / 0.5624 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.3591, allocations: 103.7 kB / 0.5625 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.707e-05/0.3592, allocations: 8 kB / 0.5625 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.414e-05/0.3592, allocations: 51.77 kB / 0.5625 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.322e-05/0.3593, allocations: 27.8 kB / 0.5626 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.3593, allocations: 4 kB / 0.5626 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.164e-05/0.3594, allocations: 39.98 kB / 0.5626 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.3595, allocations: 23.91 kB / 0.5626 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.3595, allocations: 35.75 kB / 0.5627 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.3598, allocations: 121.8 kB / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3598, allocations: 0 / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3598, allocations: 0 / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3598, allocations: 0 / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005609/0.3603, allocations: 422.7 kB / 0.5632 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.3604, allocations: 8.031 kB / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.3604, allocations: 12.84 kB / 0.5632 GB, free: 1.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.3607, allocations: 212.1 kB / 0.5634 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.3607, allocations: 8.375 kB / 0.5634 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.3607, allocations: 8.109 kB / 0.5634 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.3609, allocations: 61.55 kB / 0.5635 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3609, allocations: 0 / 0.5635 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3609, allocations: 7.984 kB / 0.5635 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3609, allocations: 4 kB / 0.5635 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.887e-05/0.361, allocations: 12 kB / 0.5635 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.3613, allocations: 288.9 kB / 0.5638 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.3615, allocations: 54.62 kB / 0.5638 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.3616, allocations: 24.84 kB / 0.5639 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3616, allocations: 0 / 0.5639 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.3617, allocations: 71.39 kB / 0.5639 GB, free: 472 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3617, allocations: 0 / 0.5639 GB, free: 472 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005281/0.3623, allocations: 173.3 kB / 0.5641 GB, free: 292 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3623, allocations: 51.41 kB / 0.5641 GB, free: 228 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.3625, allocations: 187.3 kB / 0.5643 GB, free: 28 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.3625, allocations: 25.7 kB / 0.5643 GB, free: 16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.3626, allocations: 100.1 kB / 0.5644 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.3626, allocations: 27.83 kB / 0.5645 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.3627, allocations: 25.72 kB / 0.5645 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3628, allocations: 326.8 kB / 0.5648 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.508e-05/0.3629, allocations: 15.98 kB / 0.5648 GB, free: 15.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.3629, allocations: 41.64 kB / 0.5649 GB, free: 15.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.363, allocations: 61.7 kB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.363, allocations: 0 / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.3632, allocations: 109.6 kB / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3632, allocations: 6.031 kB / 0.565 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3633, allocations: 0 / 0.565 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3633, allocations: 4 kB / 0.565 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.3634, allocations: 15.98 kB / 0.565 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3634, allocations: 4.031 kB / 0.5651 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.3634, allocations: 7.938 kB / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.3634, allocations: 0 / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001038/0.3635, allocations: 129.8 kB / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.3636, allocations: 11.95 kB / 0.5652 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.3638, allocations: 115 kB / 0.5653 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3638, allocations: 0 / 0.5653 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3638, allocations: 0 / 0.5653 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3638, allocations: 4.125 kB / 0.5653 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.3643, allocations: 395.3 kB / 0.5657 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3643, allocations: 3.938 kB / 0.5657 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.3643, allocations: 11.98 kB / 0.5657 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3643, allocations: 0 / 0.5657 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3643, allocations: 11.94 kB / 0.5657 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3643, allocations: 3.938 kB / 0.5657 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3643, allocations: 0 / 0.5657 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.3645, allocations: 200.4 kB / 0.5659 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.3646, allocations: 89.39 kB / 0.566 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.3646, allocations: 7.938 kB / 0.566 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.3647, allocations: 11.98 kB / 0.566 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.3647, allocations: 4 kB / 0.566 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.3648, allocations: 4 kB / 0.566 GB, free: 14.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001246/0.3649, allocations: 141.6 kB / 0.5662 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3649, allocations: 0 / 0.5662 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.3651, allocations: 23.94 kB / 0.5662 GB, free: 13.97 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001682/0.3668, allocations: 470.8 kB / 0.5666 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.367, allocations: 51.97 kB / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.367, allocations: 0 / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.3671, allocations: 27.92 kB / 0.5667 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.3674, allocations: 37.7 kB / 0.5667 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.3679, allocations: 248.8 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.3682, allocations: 0.7081 MB / 0.5677 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.3683, allocations: 15.44 kB / 0.5677 GB, free: 12.52 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3683, allocations: 0 / 0.5677 GB, free: 12.52 MB / 414.1 MB Notification: Performance of Templates: time 0.003788/0.372, allocations: 1.93 MB / 0.5696 GB, free: 10.6 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches