Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001913/0.001913, allocations: 111 kB / 21.19 MB, free: 0.4961 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.002053/0.002053, allocations: 214.7 kB / 24.48 MB, free: 3.809 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.508/1.508, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.2252/0.2252, allocations: 46.97 MB / 361.6 MB, free: 4.059 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 71.89 kB / 0.4974 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3229, allocations: 66.03 MB / 0.5619 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003693/0.3266, allocations: 1.866 MB / 0.5637 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.3287, allocations: 1.08 MB / 0.5648 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.3288, allocations: 4 kB / 0.5648 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.3293, allocations: 167.4 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004536/0.3298, allocations: 183.3 kB / 0.5651 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.33, allocations: 119.6 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.3304, allocations: 239.3 kB / 0.5654 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3305, allocations: 29.88 kB / 0.5655 GB, free: 488 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.3306, allocations: 111.5 kB / 0.5656 GB, free: 376 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.3308, allocations: 143.5 kB / 0.5657 GB, free: 232 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.3309, allocations: 16 kB / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.331, allocations: 55.98 kB / 0.5658 GB, free: 160 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3311, allocations: 63.7 kB / 0.5658 GB, free: 96 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.837e-05/0.3312, allocations: 63.53 kB / 0.5659 GB, free: 32 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.3315, allocations: 233.3 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.3315, allocations: 4 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3315, allocations: 0 / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3315, allocations: 0 / 0.5661 GB, free: 15.8 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007786/0.3323, allocations: 476.6 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3324, allocations: 8.031 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.3324, allocations: 32.75 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.3328, allocations: 214.5 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.3328, allocations: 8.375 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.3329, allocations: 16.11 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.3331, allocations: 115.3 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3332, allocations: 0 / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3332, allocations: 0 / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3332, allocations: 4 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.3333, allocations: 51.89 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.3339, allocations: 404.4 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.3344, allocations: 129.1 kB / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.3345, allocations: 41.83 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.3345, allocations: 3.938 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/0.3348, allocations: 133.1 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.3348, allocations: 0 / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001421/0.3362, allocations: 0.5089 MB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.3362, allocations: 81.11 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.3367, allocations: 384.5 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.3367, allocations: 33.7 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.3368, allocations: 144.5 kB / 0.5688 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.48e-05/0.3369, allocations: 71.39 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.337, allocations: 45.7 kB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3371, allocations: 342.8 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3373, allocations: 59.98 kB / 0.5693 GB, free: 12.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.3374, allocations: 95.33 kB / 0.5694 GB, free: 12.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.3377, allocations: 159.3 kB / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3377, allocations: 0 / 0.5695 GB, free: 12.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004314/0.3382, allocations: 237.3 kB / 0.5698 GB, free: 11.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3382, allocations: 10.66 kB / 0.5698 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3382, allocations: 4 kB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3382, allocations: 4 kB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.3384, allocations: 47.86 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3384, allocations: 4 kB / 0.5698 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.802e-05/0.3385, allocations: 15.98 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.3385, allocations: 4 kB / 0.5699 GB, free: 11.75 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001663/0.3386, allocations: 158.3 kB / 0.57 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.3387, allocations: 27.81 kB / 0.57 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005836/0.3393, allocations: 288.2 kB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3393, allocations: 8 kB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3393, allocations: 0 / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.3393, allocations: 3.984 kB / 0.5703 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009812/0.3403, allocations: 0.6605 MB / 0.571 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3403, allocations: 8.125 kB / 0.571 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.59e-05/0.3404, allocations: 27.98 kB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3404, allocations: 7.938 kB / 0.571 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3404, allocations: 11.98 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.3404, allocations: 8.125 kB / 0.571 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3404, allocations: 3.938 kB / 0.571 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000574/0.341, allocations: 439.4 kB / 0.5715 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.341, allocations: 23.86 kB / 0.5715 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.3411, allocations: 8 kB / 0.5715 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.3412, allocations: 7.984 kB / 0.5715 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.3413, allocations: 27.84 kB / 0.5715 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.3413, allocations: 12 kB / 0.5715 GB, free: 9.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003081/0.3416, allocations: 287 kB / 0.5718 GB, free: 9.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3416, allocations: 4 kB / 0.5718 GB, free: 9.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.342, allocations: 51.89 kB / 0.5719 GB, free: 9.613 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.002126/0.3441, allocations: 0.5565 MB / 0.5724 GB, free: 9.293 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003919/0.3445, allocations: 151.8 kB / 0.5725 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3445, allocations: 0 / 0.5725 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.3447, allocations: 80.22 kB / 0.5726 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.3453, allocations: 71.92 kB / 0.5727 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009263/0.3462, allocations: 0.508 MB / 0.5732 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.3464, allocations: 157.5 kB / 0.5733 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.3465, allocations: 45.89 kB / 0.5734 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.845e-05/0.3466, allocations: 23.44 kB / 0.5734 GB, free: 8.207 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3466, allocations: 0 / 0.5734 GB, free: 8.207 MB / 414.1 MB Notification: Performance of Templates: time 0.008017/0.3546, allocations: 3.535 MB / 0.5769 GB, free: 4.719 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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: 4.980440127998008]