Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.00133/0.00133, 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.001462/0.001462, allocations: 211.2 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.468/1.468, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2331/0.2331, allocations: 46.97 MB / 361.6 MB, free: 4.062 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 71.88 kB / 0.4974 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3028, allocations: 66.03 MB / 0.5619 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003067/0.3058, allocations: 1.697 MB / 0.5635 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3076, allocations: 0.9637 MB / 0.5645 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.413e-05/0.3076, allocations: 7.938 kB / 0.5645 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.3079, allocations: 79.75 kB / 0.5646 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.3082, allocations: 123.5 kB / 0.5647 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.3084, allocations: 79.61 kB / 0.5648 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.3086, allocations: 119.7 kB / 0.5649 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.717e-05/0.3087, allocations: 8 kB / 0.5649 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.64e-05/0.3088, allocations: 51.72 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3089, allocations: 71.67 kB / 0.565 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.3089, allocations: 4 kB / 0.565 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.509e-05/0.309, allocations: 43.98 kB / 0.565 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.3091, allocations: 27.91 kB / 0.5651 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.3091, allocations: 35.73 kB / 0.5651 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.3093, allocations: 125.9 kB / 0.5652 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3093, allocations: 0 / 0.5652 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3093, allocations: 0 / 0.5652 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3094, allocations: 0 / 0.5652 GB, free: 0.7344 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005363/0.3099, allocations: 359.5 kB / 0.5656 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.3099, allocations: 12.03 kB / 0.5656 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.31, allocations: 12.84 kB / 0.5656 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.3102, allocations: 158.3 kB / 0.5657 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.3102, allocations: 4.375 kB / 0.5657 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.3103, allocations: 12.12 kB / 0.5658 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.3104, allocations: 61.66 kB / 0.5658 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3104, allocations: 4 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.3104, allocations: 0 / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.3104, allocations: 0 / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.226e-05/0.3105, allocations: 23.92 kB / 0.5658 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.3109, allocations: 236.5 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.3111, allocations: 58.67 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.112e-05/0.3111, allocations: 24.84 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.3111, allocations: 0 / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001495/0.3113, allocations: 71.33 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3113, allocations: 0 / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005643/0.3118, allocations: 185.3 kB / 0.5664 GB, free: 15.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.3119, allocations: 59.41 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.3122, allocations: 223.6 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3122, allocations: 25.7 kB / 0.5667 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.3122, allocations: 112.1 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.3123, allocations: 27.78 kB / 0.5668 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.3123, allocations: 21.72 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3125, allocations: 326.8 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/0.3125, allocations: 23.98 kB / 0.5672 GB, free: 14.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.545e-05/0.3126, allocations: 41.64 kB / 0.5672 GB, free: 14.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.3128, allocations: 65.64 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3128, allocations: 0 / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002201/0.313, allocations: 113.6 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.313, allocations: 4 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.313, allocations: 4.031 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.313, allocations: 0 / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.3131, allocations: 19.94 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3131, allocations: 3.938 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.3132, allocations: 7.984 kB / 0.5674 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.3132, allocations: 0 / 0.5674 GB, free: 14.29 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 (10): * Single equations (assignments): 10 * 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.0001264/0.3133, allocations: 130.3 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.3133, allocations: 15.91 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.3136, allocations: 123 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3136, allocations: 0 / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3136, allocations: 8.375 kB / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3136, allocations: 0 / 0.5677 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.3141, allocations: 350.9 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3141, allocations: 4 kB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.3141, allocations: 8 kB / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3141, allocations: 0 / 0.568 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.3142, allocations: 4 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3142, allocations: 7.922 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3142, allocations: 3.938 kB / 0.5681 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.3144, allocations: 216.3 kB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.3145, allocations: 15.91 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.3145, allocations: 4 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.3146, allocations: 3.984 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.3146, allocations: 11.94 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.3146, allocations: 7.984 kB / 0.5683 GB, free: 13.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.3148, allocations: 169.5 kB / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3148, allocations: 0 / 0.5685 GB, free: 13.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.3151, allocations: 27.94 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.001854/0.3169, allocations: 498 kB / 0.569 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.3171, allocations: 63.91 kB / 0.569 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3171, allocations: 0 / 0.569 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.698e-05/0.3172, allocations: 31.92 kB / 0.5691 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.3176, allocations: 50.31 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004888/0.3181, allocations: 251.3 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.925e-05/0.3181, allocations: 96.73 kB / 0.5694 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.801e-05/0.3182, allocations: 8.984 kB / 0.5694 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.3183, allocations: 23.42 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3183, allocations: 4 kB / 0.5695 GB, free: 12.28 MB / 414.1 MB Notification: Performance of Templates: time 0.005198/0.3235, allocations: 1.949 MB / 0.5714 GB, free: 10.36 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.89058283099439]