Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001974/0.001974, 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.002586/0.002586, allocations: 218.2 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.442/1.442, allocations: 230.2 MB / 256.8 MB, free: 8.645 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.9 MB / 359.9 MB, free: 4.984 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 79.88 kB / 0.495 GB, free: 8.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3552, allocations: 65.99 MB / 0.5595 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003605/0.3588, allocations: 1.944 MB / 0.5614 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.3606, allocations: 1.069 MB / 0.5624 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.449e-05/0.3607, allocations: 0 / 0.5624 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.3611, allocations: 47.7 kB / 0.5625 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003355/0.3614, allocations: 103.5 kB / 0.5626 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.3616, allocations: 99.64 kB / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.3619, allocations: 147.5 kB / 0.5628 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.362, allocations: 25.2 kB / 0.5628 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3621, allocations: 55.72 kB / 0.5629 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.3622, allocations: 55.7 kB / 0.5629 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.3622, allocations: 4 kB / 0.5629 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.3623, allocations: 51.92 kB / 0.563 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-05/0.3624, allocations: 23.92 kB / 0.563 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.3625, allocations: 55.59 kB / 0.5631 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.3627, allocations: 150.1 kB / 0.5632 GB, free: 1.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3627, allocations: 4 kB / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3628, allocations: 0 / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3628, allocations: 0 / 0.5632 GB, free: 1.328 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007423/0.3635, allocations: 496.1 kB / 0.5637 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3635, allocations: 8.031 kB / 0.5637 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.3636, allocations: 20.84 kB / 0.5637 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.3639, allocations: 229.8 kB / 0.5639 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.3639, allocations: 12.36 kB / 0.5639 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.364, allocations: 12.12 kB / 0.564 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.3642, allocations: 114.6 kB / 0.5641 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3642, allocations: 3.984 kB / 0.5641 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3643, allocations: 0 / 0.5641 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3643, allocations: 4 kB / 0.5641 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.3644, allocations: 51.91 kB / 0.5641 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006906/0.3651, allocations: 0.5049 MB / 0.5646 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.3655, allocations: 90.59 kB / 0.5647 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.3656, allocations: 32.84 kB / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.3656, allocations: 3.938 kB / 0.5647 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.3658, allocations: 79.38 kB / 0.5648 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.3658, allocations: 0 / 0.5648 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004336/0.3662, allocations: 149.5 kB / 0.565 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.3663, allocations: 63.28 kB / 0.565 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.3665, allocations: 199.2 kB / 0.5652 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.3665, allocations: 25.7 kB / 0.5652 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.3666, allocations: 120 kB / 0.5653 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.3666, allocations: 31.73 kB / 0.5654 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.3667, allocations: 29.7 kB / 0.5654 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3669, allocations: 326.8 kB / 0.5657 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.663e-05/0.367, allocations: 31.98 kB / 0.5657 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3671, allocations: 60.27 kB / 0.5658 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.3673, allocations: 100.2 kB / 0.5659 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3673, allocations: 0 / 0.5659 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002822/0.3675, allocations: 137.8 kB / 0.566 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3676, allocations: 4 kB / 0.566 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3676, allocations: 4 kB / 0.566 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3676, allocations: 0 / 0.566 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3677, allocations: 35.98 kB / 0.5661 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3677, allocations: 0 / 0.5661 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/0.3678, allocations: 15.94 kB / 0.5661 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.3678, allocations: 4 kB / 0.5661 GB, free: 14.1 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001303/0.3679, allocations: 129.8 kB / 0.5662 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.3679, allocations: 11.91 kB / 0.5662 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.3682, allocations: 127 kB / 0.5663 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.3683, allocations: 7.938 kB / 0.5664 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3683, allocations: 0 / 0.5664 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3683, allocations: 3.984 kB / 0.5664 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.3685, allocations: 217.5 kB / 0.5666 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3685, allocations: 0 / 0.5666 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.866e-05/0.3686, allocations: 8 kB / 0.5666 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3686, allocations: 0 / 0.5666 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.3686, allocations: 15.98 kB / 0.5666 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3686, allocations: 3.938 kB / 0.5666 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3686, allocations: 0 / 0.5666 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.369, allocations: 184.9 kB / 0.5668 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.3691, allocations: 89.05 kB / 0.5669 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.3691, allocations: 0 / 0.5669 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.3692, allocations: 16.2 kB / 0.5669 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.3692, allocations: 7.984 kB / 0.5669 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3692, allocations: 4 kB / 0.5669 GB, free: 13.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.3694, allocations: 152.4 kB / 0.567 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3694, allocations: 0 / 0.567 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.3696, allocations: 27.94 kB / 0.5671 GB, free: 13.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001492/0.3711, allocations: 406.2 kB / 0.5674 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002581/0.3713, allocations: 79.89 kB / 0.5675 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3713, allocations: 0 / 0.5675 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.3715, allocations: 40.17 kB / 0.5676 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.3718, allocations: 38.95 kB / 0.5676 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006976/0.3725, allocations: 301.1 kB / 0.5679 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.3729, allocations: 0.7162 MB / 0.5686 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.373, allocations: 19.44 kB / 0.5686 GB, free: 11.51 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.373, allocations: 0 / 0.5686 GB, free: 11.51 MB / 414.1 MB Notification: Performance of Templates: time 0.004526/0.3775, allocations: 2.226 MB / 0.5708 GB, free: 9.293 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches