Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001876/0.001876, 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.002297/0.002297, 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2409/0.2409, allocations: 46.94 MB / 361.6 MB, free: 4.246 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+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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.91 kB / 0.4975 GB, free: 7.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.33, allocations: 66.02 MB / 0.5619 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003678/0.3337, allocations: 1.964 MB / 0.5638 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.3357, allocations: 1.092 MB / 0.5649 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.3358, allocations: 0 / 0.5649 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.3361, allocations: 47.64 kB / 0.565 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.3364, allocations: 95.55 kB / 0.5651 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.3367, allocations: 99.64 kB / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.3369, allocations: 155.5 kB / 0.5653 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.337, allocations: 25.39 kB / 0.5653 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.3371, allocations: 55.72 kB / 0.5654 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3373, allocations: 55.7 kB / 0.5654 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.3373, allocations: 8 kB / 0.5654 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.3374, allocations: 43.98 kB / 0.5655 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.3375, allocations: 27.86 kB / 0.5655 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.302e-05/0.3375, allocations: 59.61 kB / 0.5656 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.3378, allocations: 150 kB / 0.5657 GB, free: 484 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3378, allocations: 4 kB / 0.5657 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3378, allocations: 0 / 0.5657 GB, free: 480 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3378, allocations: 0 / 0.5657 GB, free: 480 kB / 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.0006861/0.3385, allocations: 411 kB / 0.5661 GB, free: 32 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3386, allocations: 8.031 kB / 0.5661 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.3386, allocations: 16.84 kB / 0.5661 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.339, allocations: 179 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.339, allocations: 4.375 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.339, allocations: 16.11 kB / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.3393, allocations: 107.2 kB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3393, allocations: 0 / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3393, allocations: 8 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3393, allocations: 0 / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.3395, allocations: 55.95 kB / 0.5665 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.3401, allocations: 480.1 kB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.3405, allocations: 86.61 kB / 0.567 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.899e-05/0.3406, allocations: 40.77 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3406, allocations: 4 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.3408, allocations: 79.38 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 3.577e-06/0.3408, allocations: 3.984 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004071/0.3412, allocations: 149.5 kB / 0.5673 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.3412, allocations: 55.34 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.3415, allocations: 207.1 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.3415, allocations: 25.7 kB / 0.5676 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.842e-05/0.3416, allocations: 116.1 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.3416, allocations: 31.73 kB / 0.5677 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.3417, allocations: 25.72 kB / 0.5677 GB, free: 14.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3418, allocations: 330.8 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.145e-05/0.3419, allocations: 35.91 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.342, allocations: 56.28 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.3422, allocations: 100.2 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3422, allocations: 0 / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002712/0.3425, allocations: 141.8 kB / 0.5684 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3425, allocations: 4 kB / 0.5684 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3425, allocations: 8.125 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.3425, allocations: 4 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3426, allocations: 31.86 kB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3427, allocations: 0 / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/0.3427, allocations: 11.95 kB / 0.5684 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3427, allocations: 8 kB / 0.5684 GB, free: 13.45 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.0001241/0.3429, allocations: 133.7 kB / 0.5685 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.3429, allocations: 11.91 kB / 0.5686 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.3432, allocations: 131 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3432, allocations: 3.938 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3432, allocations: 0 / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3432, allocations: 7.938 kB / 0.5687 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.3434, allocations: 180.7 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3434, allocations: 0 / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.487e-05/0.3435, allocations: 15.92 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3435, allocations: 4 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3435, allocations: 0 / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3435, allocations: 3.938 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3435, allocations: 4 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.3439, allocations: 184.9 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.3439, allocations: 11.94 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.3439, allocations: 4 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.358e-05/0.344, allocations: 11.92 kB / 0.5691 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.344, allocations: 4 kB / 0.5691 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.344, allocations: 12.33 kB / 0.5691 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.3442, allocations: 143.2 kB / 0.5692 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3442, allocations: 4 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.3444, allocations: 27.88 kB / 0.5693 GB, free: 12.49 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.001496/0.3459, allocations: 395.4 kB / 0.5697 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.3462, allocations: 87.95 kB / 0.5697 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3462, allocations: 4 kB / 0.5697 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/0.3463, allocations: 32.11 kB / 0.5698 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.3466, allocations: 47.59 kB / 0.5698 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006107/0.3472, allocations: 301.1 kB / 0.5701 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.3476, allocations: 0.7202 MB / 0.5708 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.3476, allocations: 19.42 kB / 0.5708 GB, free: 10.99 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3476, allocations: 0 / 0.5708 GB, free: 10.99 MB / 414.1 MB Notification: Performance of Templates: time 0.004655/0.3523, allocations: 2.209 MB / 0.573 GB, free: 8.793 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.169366234913468]