Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 44.92 MB / 359.6 MB, free: 6.258 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 63.89 kB / 0.4944 GB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.327, allocations: 65.47 MB / 0.5583 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003432/0.3304, allocations: 1.957 MB / 0.5602 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.3324, allocations: 1.091 MB / 0.5613 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.3325, allocations: 3.938 kB / 0.5613 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.3328, allocations: 43.7 kB / 0.5613 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.3332, allocations: 99.48 kB / 0.5614 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.3334, allocations: 103.6 kB / 0.5615 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.3337, allocations: 151.5 kB / 0.5617 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3338, allocations: 24.41 kB / 0.5617 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.3339, allocations: 55.72 kB / 0.5617 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.334, allocations: 59.7 kB / 0.5618 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.334, allocations: 8 kB / 0.5618 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3341, allocations: 51.91 kB / 0.5619 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.978e-05/0.3342, allocations: 23.92 kB / 0.5619 GB, free: 4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.934e-05/0.3343, allocations: 55.61 kB / 0.5619 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.3345, allocations: 147 kB / 0.5621 GB, free: 3.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3345, allocations: 4 kB / 0.5621 GB, free: 3.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3345, allocations: 0 / 0.5621 GB, free: 3.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.3345, allocations: 0 / 0.5621 GB, free: 3.801 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.0006674/0.3352, allocations: 423 kB / 0.5625 GB, free: 3.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3352, allocations: 8.031 kB / 0.5625 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.3353, allocations: 16.84 kB / 0.5625 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.3356, allocations: 175 kB / 0.5627 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3356, allocations: 384 / 0.5627 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.3356, allocations: 16.12 kB / 0.5627 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.3359, allocations: 108.2 kB / 0.5628 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.353e-05/0.3359, allocations: 0 / 0.5628 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.3359, allocations: 11.98 kB / 0.5628 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.336, allocations: 0 / 0.5628 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.3361, allocations: 51.84 kB / 0.5628 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.3367, allocations: 484.1 kB / 0.5633 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.3371, allocations: 86.59 kB / 0.5634 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.617e-05/0.3371, allocations: 32.84 kB / 0.5634 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3372, allocations: 7.984 kB / 0.5634 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.3374, allocations: 83.38 kB / 0.5635 GB, free: 2.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.3374, allocations: 3.938 kB / 0.5635 GB, free: 2.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004163/0.3378, allocations: 145.5 kB / 0.5637 GB, free: 2.023 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3378, allocations: 59.28 kB / 0.5637 GB, free: 1.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.338, allocations: 203.1 kB / 0.5639 GB, free: 1.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.3381, allocations: 29.7 kB / 0.5639 GB, free: 1.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.254e-05/0.3382, allocations: 116.1 kB / 0.564 GB, free: 1.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.3382, allocations: 31.73 kB / 0.5641 GB, free: 1.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.3382, allocations: 29.7 kB / 0.5641 GB, free: 1.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3384, allocations: 322.8 kB / 0.5644 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.519e-05/0.3385, allocations: 27.98 kB / 0.5644 GB, free: 1.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.3386, allocations: 68.27 kB / 0.5645 GB, free: 1.094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.3388, allocations: 96.2 kB / 0.5646 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3388, allocations: 4 kB / 0.5646 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000286/0.3391, allocations: 137.5 kB / 0.5647 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3391, allocations: 4 kB / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3391, allocations: 11.92 kB / 0.5647 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3391, allocations: 0 / 0.5647 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.3392, allocations: 23.94 kB / 0.5648 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3392, allocations: 3.984 kB / 0.5648 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.791e-05/0.3393, allocations: 7.953 kB / 0.5648 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.3393, allocations: 20.11 kB / 0.5648 GB, free: 0.7695 MB / 398.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.0001169/0.3394, allocations: 129.7 kB / 0.5649 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.3395, allocations: 16.36 kB / 0.5649 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.3398, allocations: 130.9 kB / 0.5651 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3398, allocations: 3.938 kB / 0.5651 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3398, allocations: 0 / 0.5651 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3398, allocations: 4 kB / 0.5651 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.34, allocations: 180.7 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.34, allocations: 4 kB / 0.5652 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.737e-05/0.3401, allocations: 11.98 kB / 0.5653 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3401, allocations: 7.938 kB / 0.5653 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.3401, allocations: 0 / 0.5653 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.3401, allocations: 3.938 kB / 0.5653 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3401, allocations: 0 / 0.5653 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.3405, allocations: 176.9 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.434e-05/0.3405, allocations: 20 kB / 0.5655 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.3405, allocations: 7.984 kB / 0.5655 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.3406, allocations: 7.938 kB / 0.5655 GB, free: 0 / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.137e-05/0.3406, allocations: 4.047 kB / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3406, allocations: 7.938 kB / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.3408, allocations: 139.2 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3408, allocations: 4 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.341, allocations: 23.94 kB / 0.5656 GB, free: 15.82 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.001554/0.3426, allocations: 425.9 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.3428, allocations: 71.91 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3428, allocations: 0 / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.95e-05/0.3429, allocations: 35.92 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.3432, allocations: 37.41 kB / 0.5662 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005926/0.3438, allocations: 313.6 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.3442, allocations: 0.7123 MB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.3442, allocations: 19.44 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3442, allocations: 3.938 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of Templates: time 0.004569/0.3488, allocations: 2.213 MB / 0.5694 GB, free: 12.11 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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: 8.181511727860197]