Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001664/0.001664, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001955/0.001955, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2282/0.2282, allocations: 46.97 MB / 361.6 MB, free: 4.008 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 71.83 kB / 0.4974 GB, free: 7.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2842, allocations: 66.03 MB / 0.5619 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003051/0.2873, allocations: 1.724 MB / 0.5636 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.289, allocations: 0.9753 MB / 0.5645 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.853e-05/0.2891, allocations: 4 kB / 0.5645 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.2894, allocations: 87.69 kB / 0.5646 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.2897, allocations: 123.5 kB / 0.5647 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.2899, allocations: 83.66 kB / 0.5648 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.2901, allocations: 119.7 kB / 0.5649 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.2902, allocations: 15.97 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.094e-05/0.2903, allocations: 51.78 kB / 0.565 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.2904, allocations: 59.81 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.2904, allocations: 4 kB / 0.565 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.2905, allocations: 71.89 kB / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.2906, allocations: 23.86 kB / 0.5651 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.2906, allocations: 23.81 kB / 0.5652 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.2909, allocations: 153.8 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2909, allocations: 0 / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.2909, allocations: 3.984 kB / 0.5653 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2909, allocations: 0 / 0.5653 GB, free: 0.5977 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005718/0.2915, allocations: 373.3 kB / 0.5657 GB, free: 208 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.2915, allocations: 15.97 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.2916, allocations: 12.84 kB / 0.5657 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.2918, allocations: 154.8 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.2918, allocations: 4.422 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.2918, allocations: 4.125 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.292, allocations: 65.61 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.292, allocations: 0 / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.292, allocations: 4 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.292, allocations: 0 / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/0.2921, allocations: 27.92 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.2925, allocations: 252.4 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.2928, allocations: 58.55 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.2928, allocations: 16.98 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.2928, allocations: 7.984 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.293, allocations: 75.33 kB / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.293, allocations: 0 / 0.5663 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008012/0.2938, allocations: 245.3 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.2939, allocations: 51.41 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.2941, allocations: 231.5 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.2941, allocations: 29.7 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.872e-05/0.2942, allocations: 108.1 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.2942, allocations: 39.67 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.2943, allocations: 25.72 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2944, allocations: 326.8 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.138e-05/0.2945, allocations: 31.98 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.078e-05/0.2946, allocations: 49.69 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.2948, allocations: 85.69 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2948, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002508/0.295, allocations: 129.5 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.295, allocations: 8 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.295, allocations: 0 / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2951, allocations: 4.031 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.2951, allocations: 27.92 kB / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2952, allocations: 0 / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.344e-05/0.2952, allocations: 3.938 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.2952, allocations: 4 kB / 0.5677 GB, free: 13.98 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 (13): * Single equations (assignments): 13 * 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.0001373/0.2954, allocations: 137.8 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.2954, allocations: 15.91 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.2957, allocations: 151.7 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2958, allocations: 4 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2958, allocations: 4 kB / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.2958, allocations: 7.938 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.2964, allocations: 395.8 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2964, allocations: 0 / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.2964, allocations: 15.98 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.2964, allocations: 7.938 kB / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2965, allocations: 96 / 0.5684 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.2965, allocations: 7.922 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2965, allocations: 7.938 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.2968, allocations: 249.1 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.2968, allocations: 11.91 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.2969, allocations: 11.94 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.2969, allocations: 3.984 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.297, allocations: 7.984 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.297, allocations: 12 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.2972, allocations: 169.1 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2972, allocations: 0 / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.2975, allocations: 35.86 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002132/0.2996, allocations: 0.5551 MB / 0.5694 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.2998, allocations: 71.91 kB / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2998, allocations: 0 / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.648e-05/0.2999, allocations: 43.91 kB / 0.5695 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.3003, allocations: 35.67 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.3008, allocations: 280.7 kB / 0.5698 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.3009, allocations: 106 kB / 0.5699 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.228e-05/0.301, allocations: 24.41 kB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.301, allocations: 19.44 kB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.301, allocations: 0 / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of Templates: time 0.005628/0.3066, allocations: 2.196 MB / 0.5721 GB, free: 9.57 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.893841452008928]